diff options
author | Robert Lehmann <mail@robertlehmann.de> | 2010-11-26 09:49:46 +0100 |
---|---|---|
committer | Robert Lehmann <mail@robertlehmann.de> | 2010-11-26 09:49:46 +0100 |
commit | 7414bf640d6ff51a1a6b8acf3bae9f330736cb43 (patch) | |
tree | 215c9ec9450a553cb4a6e028ede47ae608fefff0 | |
parent | 7729c7f383817599fa3fe75f01addd8afb49a984 (diff) | |
download | bugseverywhere-7414bf640d6ff51a1a6b8acf3bae9f330736cb43.tar.gz |
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.
-rw-r--r-- | libbe/command/assign.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): |