aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/new.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 /becommands/new.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 'becommands/new.py')
-rw-r--r--becommands/new.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/becommands/new.py b/becommands/new.py
index dec40cb..15ee4a9 100644
--- a/becommands/new.py
+++ b/becommands/new.py
@@ -29,12 +29,12 @@ def execute(args, test=False):
Created bug with ID X
>>> bd.load()
>>> bug = bd.bug_from_uuid("X")
- >>> bug.summary
- u'this is a test'
+ >>> print bug.summary
+ this is a test
>>> bug.time <= int(time.time())
True
- >>> bug.severity
- u'minor'
+ >>> print bug.severity
+ minor
>>> bug.target == settings_object.EMPTY
True
"""