From: Aaron Bentley Date: Thu, 10 Mar 2005 15:33:42 +0000 (+0000) Subject: Ensured bug list shows unique ids X-Git-Tag: 1.0.0~369 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=09c42b42aea2cdc413a62c892a832676acaa964d;p=be.git Ensured bug list shows unique ids --- 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())