diff options
author | Chris Ball <cjb@laptop.org> | 2011-01-08 20:54:44 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-08 20:54:44 -0500 |
commit | 06e30d93038de9da326e4bc5c5ed7154b83a18e6 (patch) | |
tree | 8fb48924e3acb886843d6c3d287d56a74c3601d8 /libbe/command/depend.py | |
parent | 0b33ffd2515cbc5d7f5998839338b84b72660386 (diff) | |
parent | 73c9f3ebbf945a8a5c1eb398dff1324ffb47ae43 (diff) | |
download | bugseverywhere-06e30d93038de9da326e4bc5c5ed7154b83a18e6.tar.gz |
Merge commit 'refs/merge-requests/3' of git://gitorious.org/be/be
Diffstat (limited to 'libbe/command/depend.py')
-rw-r--r-- | libbe/command/depend.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbe/command/depend.py b/libbe/command/depend.py index 39d8042..9ae449a 100644 --- a/libbe/command/depend.py +++ b/libbe/command/depend.py @@ -84,11 +84,11 @@ def parse_status(status): return status def parse_severity(severity, important=False): - if severity == 'all': - severity = libbe.bug.severity_values - elif important == True: + if important == True: serious = libbe.bug.severity_values.index('serious') - severity.append(list(libbe.bug.severity_values[serious:])) + severity = list(libbe.bug.severity_values[serious:]) + elif severity == 'all': + severity = libbe.bug.severity_values else: severity = libbe.command.util.select_values( severity, libbe.bug.severity_values) |