From 7414bf640d6ff51a1a6b8acf3bae9f330736cb43 Mon Sep 17 00:00:00 2001 From: Robert Lehmann Date: Fri, 26 Nov 2010 09:49:46 +0100 Subject: [PATCH] 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. --- libbe/command/assign.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.26.2