aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/severity.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-14 23:31:57 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-14 23:31:57 -0500
commit6e474b0dc04efa60aaeb82c09d4fd4f4b10678da (patch)
treeb032b446fd0af68c891b39ab46be95adf8bc04c5 /libbe/command/severity.py
parent1b9c628529848af370adbc67b5ba298236a1b86d (diff)
downloadbugseverywhere-6e474b0dc04efa60aaeb82c09d4fd4f4b10678da.tar.gz
Transitioned status to Command-format
Diffstat (limited to 'libbe/command/severity.py')
-rw-r--r--libbe/command/severity.py5
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)