Ensured bug list shows unique ids
authorAaron Bentley <abentley@panoramicfeedback.com>
Thu, 10 Mar 2005 15:33:42 +0000 (15:33 +0000)
committerAaron Bentley <abentley@panoramicfeedback.com>
Thu, 10 Mar 2005 15:33:42 +0000 (15:33 +0000)
be

diff --git a/be b/be
index e41f0594e13cb9d6d1a21c016195bbbee48fb93b..6bc93ab773be9d8e2fe8f34a6b5c5dd1241d6eda 100755 (executable)
--- 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())