[Secure-testing-commits] r4110 - lib/python

Florian Weimer fw at costa.debian.org
Fri Jun 2 04:03:24 UTC 2006


Author: fw
Date: 2006-06-02 04:03:24 +0000 (Fri, 02 Jun 2006)
New Revision: 4110

Modified:
   lib/python/bugs.py
Log:
* lib/python/bugs.py (FileBase.__iter__):
  Fix name generation for bugs involving <no-dsa> notes.


Modified: lib/python/bugs.py
===================================================================
--- lib/python/bugs.py	2006-06-01 21:14:22 UTC (rev 4109)
+++ lib/python/bugs.py	2006-06-02 04:03:24 UTC (rev 4110)
@@ -756,7 +756,7 @@
                 if not self.isUniqueName(record_name):
                     first_bug = 0
                     for n in pkg_notes:
-                        for b in n.bugs:
+                        for b in getattr(n, 'bugs', []):
                             first_bug = b
                             break
                         if first_bug:




More information about the Secure-testing-commits mailing list