[Collab-qa-commits] r1420 - udd/udd

lucas at alioth.debian.org lucas at alioth.debian.org
Tue Mar 24 02:10:09 UTC 2009


Author: lucas
Date: 2009-03-24 02:10:08 +0000 (Tue, 24 Mar 2009)
New Revision: 1420

Modified:
   udd/udd/ubuntu_bugs_gatherer.py
Log:
ubuntu-bugs importer: ignore bug #310331, which is corrupted in launchpad (dupetask)

Modified: udd/udd/ubuntu_bugs_gatherer.py
===================================================================
--- udd/udd/ubuntu_bugs_gatherer.py	2009-03-24 02:09:03 UTC (rev 1419)
+++ udd/udd/ubuntu_bugs_gatherer.py	2009-03-24 02:10:08 UTC (rev 1420)
@@ -32,9 +32,11 @@
     httpq = Queue()
     dbq = Queue()
     for b in bugs:
-      if self.debug:
-        if b > 10000:
-          continue
+      if b == 310331:
+        continue # this bug is buggy: two identical tasks
+#      if self.debug:
+#        if b != 310331:
+#          continue
       httpq.put(b)
 
     # start workers
@@ -242,6 +244,8 @@
       if len(s) > 0:
         print s
         print t
+      if self.debug:
+        print str(bugno)+"\n"
       c.execute('insert into ubuntu_bugs_tasks values (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)', (bugno, pkg, distro,
         tm['status'], tm['importance'], tm['component'], tm['milestone'], created,
         assigned, closed, incomplete, confirmed, inprogress, fixcommitted, fixreleased, leftnew, triaged, leftclosed, tm['watch'],




More information about the Collab-qa-commits mailing list