From: Robert Lehmann Date: Fri, 26 Nov 2010 08:49:46 +0000 (+0100) Subject: Change status on assignment of open bugs. X-Git-Tag: 1.1.0~245^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7414bf640d6ff51a1a6b8acf3bae9f330736cb43;p=be.git Change status on assignment of open bugs. After a bug has been assigned from status `open' it is no longer eligible for that status as described: A working bug that has not been assigned to a developer. --- diff --git a/libbe/command/assign.py b/libbe/command/assign.py index 7632abf..d6b3e90 100644 --- a/libbe/command/assign.py +++ b/libbe/command/assign.py @@ -84,6 +84,8 @@ class Assign (libbe.command.Command): libbe.command.util.bug_comment_from_user_id(bugdir, bug_id) if bug.assigned != assigned: bug.assigned = assigned + if bug.status == 'open': + bug.status = 'assigned' return 0 def _long_help(self):