aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bugdir.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2008-12-04 09:14:01 -0500
committerW. Trevor King <wking@drexel.edu>2008-12-04 09:14:01 -0500
commit83e320a61eb74dab6eddfdda010f34fa42eedc0c (patch)
tree7bdeb30f918344ab41b87c3e66b3193360335ebc /libbe/bugdir.py
parentf6c5402f58b8450ee4e1a78da87b560491abbd45 (diff)
downloadbugseverywhere-83e320a61eb74dab6eddfdda010f34fa42eedc0c.tar.gz
Added per-tree configurable severities.
They currently have no effect, but you can see them with $ be set There's a lot of information in this one 'settings' variable. I think set will have to be specialized to handle arrays smoothly...
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r--libbe/bugdir.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py
index f93576f..d554ebe 100644
--- a/libbe/bugdir.py
+++ b/libbe/bugdir.py
@@ -218,6 +218,10 @@ settings easy. Don't set this attribute. Set .rcs instead, and
@doc_property(doc="A dict of (bug-uuid, bug-instance) pairs.")
def _bug_map(): return {}
+ @_versioned_property(name="severities",
+ doc="The allowed bug severities and their descriptions.")
+ def severities(): return {}
+
def __init__(self, root=None, sink_to_existing_root=True,
assert_new_BugDir=False, allow_rcs_init=False,