Rev 62: bugs were causing categories not to get updated. in http://bazaar.launchpad.net/~canonical-bazaar/udd/hottest100

John Arbash Meinel john at arbash-meinel.com
Tue Jan 26 17:32:51 GMT 2010


At http://bazaar.launchpad.net/~canonical-bazaar/udd/hottest100

------------------------------------------------------------
revno: 62
revision-id: john at arbash-meinel.com-20100126173220-p2ylg1vro1o3vw2i
parent: jelmer at samba.org-20100126173028-lswa4db62hz9tcl0
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: hottest100
timestamp: Tue 2010-01-26 11:32:20 -0600
message:
  bugs were causing categories not to get updated.
-------------- next part --------------
=== modified file 'check-hottest.py'
--- a/check-hottest.py	2010-01-26 17:22:39 +0000
+++ b/check-hottest.py	2010-01-26 17:32:20 +0000
@@ -184,12 +184,10 @@
             continue
         known_buggy = False
         for tag in package.tags:
-            if tag.startswith('package-bug:'):
+            if (tag.startswith('package-bug:')
+                or tag.startswith('upstream-bug:')):
                 # This package import has a known bug
                 package_categories.categorize(tag, package)
-                known_buggy = True
-            if tag.startswith('upstream-bug:'):
-                # This branch import has a known bug
                 upstream_branch_categories.categorize(tag, package)
                 known_buggy = True
         if known_buggy:



More information about the bazaar-commits mailing list