diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-11 17:45:05 +0000 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-11 17:45:05 +0000 |
commit | f5458611072ab7c6048311430771d1ec297d4f61 (patch) | |
tree | 0f3c8787b0063a6d78a347e6b3f5276f3a5f4513 /be | |
parent | 56c2c54ef00acc75f2bce8ded2b7fa66e8d07712 (diff) | |
download | bugseverywhere-f5458611072ab7c6048311430771d1ec297d4f61.tar.gz |
Added severity command
Diffstat (limited to 'be')
-rwxr-xr-x | be | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -1,5 +1,12 @@ #!/usr/bin/env python -"""Bugs Everywhere - Distributed bug tracking +from libbe.cmdutil import * +from libbe.bugdir import tree_root, create_bug_dir +from libbe import names +import sys +import os +import commands +import commands.severity +__doc__ = """Bugs Everywhere - Distributed bug tracking Supported commands set-root: assign the root directory for bug tracking @@ -8,15 +15,11 @@ Supported commands show: show a particular bug close: close a bug open: re-open a bug + severity: %s Unimplemented commands comment: append a comment to a bug -""" -from libbe.cmdutil import * -from libbe.bugdir import tree_root, create_bug_dir -from libbe import names -import sys -import os +""" % commands.severity.__desc__ def list_bugs(args): active = True @@ -77,6 +80,7 @@ else: "new": new_bug, "close": close_bug, "open": open_bug, + "severity": commands.severity.execute, }[sys.argv[1]] except KeyError, e: raise UserError("Unknown command \"%s\"" % e.args[0]) |