[sysadmin-bin] username is a string
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] username is a string
- Date: Thu, 10 Sep 2020 14:21:57 +0000 (UTC)
commit cd3b9f27b45d192635cf21c422aa21a6ae7232c5
Author: Andrea Veri <averi redhat com>
Date: Thu Sep 10 16:21:49 2020 +0200
username is a string
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 b65a929..4bad45c 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 %i with id %i has been added' % (user, id)
+ print 'Key for username %s with id %i has been added' % (user, 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]