[sysadmin-bin] Don't list projects when getting the GNOME group (new feature of the API starting from GitLab 11.2



commit 66d7a7b9d20cc9b039fb7c1183058660c818a6ee
Author: Andrea Veri <averi redhat com>
Date:   Thu Aug 9 16:42:22 2018 +0200

    Don't list projects when getting the GNOME group (new feature of the API starting from GitLab 11.2

 gitlab/gitlab-operations.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gitlab/gitlab-operations.py b/gitlab/gitlab-operations.py
index fe4c704..23d7b63 100755
--- a/gitlab/gitlab-operations.py
+++ b/gitlab/gitlab-operations.py
@@ -22,7 +22,7 @@ GNOME = "http://api.gnome.org/doap-extensions#";
 ldapusers = gl.users.list(all=True)
 ldapusers_dict = {}
 gnomecvs_members = glu.get_uids_from_group('gnomecvs')
-group = gl.groups.get(8)
+group = gl.groups.get(8, with_projects=False)
 gnomeusers = group.members.list(all=True)
 gnomeusers_dict = {}
 projects = group.projects.list(all=True)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]