[sysadmin-bin] Don't do anything if the user spotted has a reporter level access
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Don't do anything if the user spotted has a reporter level access
- Date: Wed, 8 Nov 2017 17:04:32 +0000 (UTC)
commit 55c79686897d00817c66747d2492bffc24ae8593
Author: Andrea Veri <averi redhat com>
Date: Wed Nov 8 18:04:23 2017 +0100
Don't do anything if the user spotted has a reporter level access
gitlab/gitlab-operations.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gitlab/gitlab-operations.py b/gitlab/gitlab-operations.py
index 2cdd675..48bfd12 100755
--- a/gitlab/gitlab-operations.py
+++ b/gitlab/gitlab-operations.py
@@ -137,6 +137,8 @@ for project in maints:
proj.members.delete(members_dict[member])
print 'Dropped master level access to %s against repository %s as maintainer entry is
missing on the DOAP file' % (member, project)
+ elif _member.attributes['access_level'] == 20:
+ pass
else:
proj.members.delete(members_dict[member])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]