diff options
author | Oleg Romanyshyn <oromanyshyn@panoramicfeedback.com> | 2005-04-22 15:44:12 +0000 |
---|---|---|
committer | Oleg Romanyshyn <oromanyshyn@panoramicfeedback.com> | 2005-04-22 15:44:12 +0000 |
commit | 4c567ef59a85ce345ce76268aafc4a5ff9c66e62 (patch) | |
tree | e369e7283c2226d5bafb6139e64b8c0b3c52bccb /libbe | |
parent | 7f0b9b9fb07cddf83c3225f6d774056af0923ef6 (diff) | |
download | bugseverywhere-4c567ef59a85ce345ce76268aafc4a5ff9c66e62.tar.gz |
Added new status - "in-progress"
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/bugdir.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py index 16c1544..7c02ff3 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -148,7 +148,7 @@ for i in range(len(severity_levels)): severity_value[severity_levels[i]] = i class Bug(object): - status = checked_property("status", (None, "open", "closed")) + status = checked_property("status", (None, "open", "closed", "in-progress")) severity = checked_property("severity", (None, "wishlist", "minor", "serious", "critical", "fatal")) @@ -176,7 +176,7 @@ class Bug(object): return os.path.join(self.path, self.uuid, file) def _get_active(self): - return self.status == "open" + return self.status in ("open", "in-progress") active = property(_get_active) |