aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bugdir.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2005-04-22 15:50:08 +0000
committerAaron Bentley <abentley@panoramicfeedback.com>2005-04-22 15:50:08 +0000
commit43951f500ed2ce6dae61f34cc499d13535f47c50 (patch)
tree68f52366fbee191ccff4802e7474fc40605ff3d4 /libbe/bugdir.py
parent16a391aaf9d3934f7297b7a8fb87184cf555882f (diff)
parent4c567ef59a85ce345ce76268aafc4a5ff9c66e62 (diff)
downloadbugseverywhere-43951f500ed2ce6dae61f34cc499d13535f47c50.tar.gz
Added new status - "in-progress" (Oleg Romanyshyn)
Patches applied: * oromanyshyn@panoramicfeedback.com--development2/bugs-everywhere--0--base-0 * tag of aaron.bentley@utoronto.ca--be/bugs-everywhere--devel--0--patch-84 * oromanyshyn@panoramicfeedback.com--development2/bugs-everywhere--0--patch-1 * Added new status - "in-progress"
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r--libbe/bugdir.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py
index 8583b68..ab39a18 100644
--- a/libbe/bugdir.py
+++ b/libbe/bugdir.py
@@ -157,7 +157,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"))
@@ -185,7 +185,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)