aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2005-03-10 15:33:42 +0000
committerAaron Bentley <abentley@panoramicfeedback.com>2005-03-10 15:33:42 +0000
commit09c42b42aea2cdc413a62c892a832676acaa964d (patch)
treedbcda9b9af40f6629ec2bb2f4d479708101c5d1a
parente94dc47e9bc399eabfed36d0d402406b47f4a8a2 (diff)
downloadbugseverywhere-09c42b42aea2cdc413a62c892a832676acaa964d.tar.gz
Ensured bug list shows unique ids
-rwxr-xr-xbe6
1 files changed, 3 insertions, 3 deletions
diff --git a/be b/be
index e41f059..6bc93ab 100755
--- a/be
+++ b/be
@@ -28,12 +28,12 @@ def list_bugs(args):
if bug.severity not in severity:
return False
return True
-
- bugs = [b for b in tree_root(os.getcwd()).list() if filter(b) ]
+ all_bugs = list(tree_root(os.getcwd()).list())
+ bugs = [b for b in all_bugs if filter(b) ]
if len(bugs) == 0:
print "No matching bugs found"
for bug in bugs:
- print bug_summary(bug, bugs)
+ print bug_summary(bug, all_bugs)
def show_bug(args):
bug_dir = tree_root(os.getcwd())