Set explicit name for SVNer account

It now includes the project ID it's created for, and the fact that it's
a SVNer account, just for easy identification.
This commit is contained in:
2017-05-18 10:03:06 +02:00
parent 9d302d5124
commit dc4cf6aecc

View File

@@ -46,7 +46,9 @@ def create_svner_account(email, project_url):
log.error('Unable to find project url=%s', project_url) log.error('Unable to find project url=%s', project_url)
return 1 return 1
account, token = create_service_account(email, ['svner'], {'svner': {'project': proj['_id']}}) proj_id = proj['_id']
account, token = create_service_account(email, ['svner'], {'svner': {'project': proj_id}},
f'SVNer for project {proj_id}')
return account, token return account, token
manager.add_command("attract", manager_attract) manager.add_command("attract", manager_attract)