From c546fb00930efef3a37468770b2a373825187849 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 18 Oct 2018 18:04:47 +0200 Subject: [PATCH] do not abort when refusing to assign issue to self --- git_redmine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_redmine.py b/git_redmine.py index 78dcb83..76a7ab2 100644 --- a/git_redmine.py +++ b/git_redmine.py @@ -261,7 +261,7 @@ def submit(issue, number_of_commits): issue.save() elif issue.assigned_to.id != current_user.id: if click.confirm('Issue is currently assigned to %s, do you want ' - 'to assign the issue to yourself ?' % issue.assigned_to.name, abort=True): + 'to assign the issue to yourself ?' % issue.assigned_to.name): issue.assigned_to_id = current_user.id issue.save() kwargs['status_id'] = api.solution.id