[sysadmin-bin] Use the path key instead of name as project_name



commit 9f0675cd2eb9cfbdf298718b1f758a47646938fa
Author: Andrea Veri <averi redhat com>
Date:   Wed Jan 24 14:51:58 2018 +0100

    Use the path key instead of name as project_name

 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 ee8e1cc..6822aca 100755
--- a/gitlab/gitlab-operations.py
+++ b/gitlab/gitlab-operations.py
@@ -78,7 +78,7 @@ for username, id in gnomeusers_dict.iteritems():
 
 maints = dict()
 for project in projects:
-    project_name = project.attributes['name']
+    project_name = project.attributes['path']
     uids = []
 
     try:


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