projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7729c7f
)
Change status on assignment of open bugs.
author
Robert Lehmann
<mail@robertlehmann.de>
Fri, 26 Nov 2010 08:49:46 +0000
(09:49 +0100)
committer
Robert Lehmann
<mail@robertlehmann.de>
Fri, 26 Nov 2010 08:49:46 +0000
(09:49 +0100)
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
patch
|
blob
|
history
diff --git
a/libbe/command/assign.py
b/libbe/command/assign.py
index 7632abfd8d9b77ad1134ee97de0a28b5925ed798..d6b3e904b3735f39288832af8e128e746ddefada 100644
(file)
--- 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):