Commit 67fca12b authored by Henrik Skov Midtiby's avatar Henrik Skov Midtiby

Change output when adding users to repositories.

parent 72318e61
......@@ -115,7 +115,7 @@ class GitlabClassHelper:
url = self.path + '/projects/%d/members?user_id=%d&access_level=30' % (repo_id, user_id)
resp = requests.post(url, headers=self.headers)
if resp.ok:
print('Added "%d" to the project "%s".' % (user_id, repo_name))
print('Added userid "%d" to the project "%s".' % (user_id, repo_name))
else:
raise requests.HTTPError('%s for url: %s' % (resp.json()['message'], url))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment