aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/assign.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/command/assign.py')
-rw-r--r--libbe/command/assign.py2
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):