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

Andreas Tille tille at alioth.debian.org
Sun Jun 14 07:18:45 UTC 2009


Author: tille
Date: 2009-06-14 07:18:44 +0000 (Sun, 14 Jun 2009)
New Revision: 1487

Modified:
   udd/udd/ftpnew_gatherer.py
Log:
Handle missing information fields


Modified: udd/udd/ftpnew_gatherer.py
===================================================================
--- udd/udd/ftpnew_gatherer.py	2009-06-14 06:24:12 UTC (rev 1486)
+++ udd/udd/ftpnew_gatherer.py	2009-06-14 07:18:44 UTC (rev 1487)
@@ -439,6 +439,9 @@
             print >>stderr, binpkg
             print >>stderr, binpkg.b
             continue
+          except KeyError, err:
+            print >>stderr, "Missing information field for binary package %s: %s" % (binpkg.b['Package'], err)
+            continue
 
     cur.execute("DEALLOCATE ftpnew_insert_source")
     cur.execute("DEALLOCATE ftpnew_insert_package")




More information about the Collab-qa-commits mailing list