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

Florian Weimer fw at costa.debian.org
Wed Jan 4 18:11:50 UTC 2006


Author: fw
Date: 2006-01-04 18:11:48 +0000 (Wed, 04 Jan 2006)
New Revision: 3228

Modified:
   lib/python/bugs.py
Log:
lib/python/bugs.py (FileBase.__iter__):
  Handle <no-dsa>, by treating it as <unfixed> for now.


Modified: lib/python/bugs.py
===================================================================
--- lib/python/bugs.py	2006-01-04 16:09:31 UTC (rev 3227)
+++ lib/python/bugs.py	2006-01-04 18:11:48 UTC (rev 3228)
@@ -615,11 +615,21 @@
                                              (p, '0', 'unimportant',
                                               release=release))
                             if d:
-                                # Not exactly idea, but we have to record the
-                                # free-form text in some way.
+                                # 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 == 'no-dsa':
+                            pkg_notes.append(PackageNoteParsed
+                                             (p, None, 'low',
+                                              release=release))
+                            if d:
+                                # See above.
+                                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