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

Florian Weimer fw at alioth.debian.org
Wed Oct 21 18:28:21 UTC 2009


Author: fw
Date: 2009-10-21 18:28:20 +0000 (Wed, 21 Oct 2009)
New Revision: 13057

Modified:
   lib/python/bugs.py
Log:
lib/python/bug.spy (FileBase.__iter__): use kludge for <no-dsa>, too


Modified: lib/python/bugs.py
===================================================================
--- lib/python/bugs.py	2009-10-20 22:03:52 UTC (rev 13056)
+++ lib/python/bugs.py	2009-10-21 18:28:20 UTC (rev 13057)
@@ -577,6 +577,13 @@
                                 release=release,
                                 package=p,
                                 comment=d))
+                            if d:
+                                # Not exactly ideal, but we have to
+                                # record the free-form text in some
+                                # way.
+                                if r[-1] == '\n':
+                                    r = r[:-1]
+                                comments.append(('NOTE', r))
                         elif v == 'itp':
                             x = PackageNoteParsed(p, None, d, release=release)
                             x.package_kind = 'itp'




More information about the Secure-testing-commits mailing list