From dc4cf6aecc220cb234755546f3af3153002fc9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 18 May 2017 10:03:06 +0200 Subject: [PATCH] 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. --- attract/cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/attract/cli.py b/attract/cli.py index 6d08500..4bb284f 100644 --- a/attract/cli.py +++ b/attract/cli.py @@ -46,7 +46,9 @@ def create_svner_account(email, project_url): log.error('Unable to find project url=%s', project_url) 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 manager.add_command("attract", manager_attract)