[sysadmin-bin] s/user/username



commit b8a85fdf8a24466e9e19dfcaafe297a3ca66b325
Author: Andrea Veri <averi redhat com>
Date:   Tue Sep 22 11:20:08 2020 +0200

    s/user/username

 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 4bad45c..f87652e 100755
--- a/gitlab/gitlab-operations.py
+++ b/gitlab/gitlab-operations.py
@@ -50,7 +50,7 @@ for username, id in ldapusers_dict.iteritems():
         try:
             user.keys.create({'title': 'Imported from account.gnome.org', 'key': ssh_key})
 
-            print 'Key for username %s with id %i has been added' % (user, id)
+            print 'Key for username %s with id %i has been added' % (username, id)
         except gitlab.exceptions.GitlabCreateError as e:
             if e.response_code == 400:
                 pass


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