diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-14 23:31:57 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-14 23:31:57 -0500 |
commit | 6e474b0dc04efa60aaeb82c09d4fd4f4b10678da (patch) | |
tree | b032b446fd0af68c891b39ab46be95adf8bc04c5 /libbe/command/severity.py | |
parent | 1b9c628529848af370adbc67b5ba298236a1b86d (diff) | |
download | bugseverywhere-6e474b0dc04efa60aaeb82c09d4fd4f4b10678da.tar.gz |
Transitioned status to Command-format
Diffstat (limited to 'libbe/command/severity.py')
-rw-r--r-- | libbe/command/severity.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbe/command/severity.py b/libbe/command/severity.py index f6b586f..9289138 100644 --- a/libbe/command/severity.py +++ b/libbe/command/severity.py @@ -23,6 +23,7 @@ import libbe.bug import libbe.command import libbe.command.util + class Severity (libbe.command.Command): """Change a bug's severity level @@ -88,8 +89,8 @@ Severity levels are: except NotImplementedError: pass # No tree, just show the defaults longest_severity_len = max([len(s) for s in libbe.bug.severity_values]) - for severity in bug.severity_values : - description = bug.severity_description[severity] + for severity in libbe.bug.severity_values : + description = libbe.bug.severity_description[severity] ret.append('%*s : %s\n' \ % (longest_severity_len, severity, description)) return ''.join(ret) |