[Secure-testing-commits] r2101 - lib/python
Florian Weimer
fw at costa.debian.org
Thu Sep 22 21:05:28 UTC 2005
Author: fw
Date: 2005-09-22 21:05:28 +0000 (Thu, 22 Sep 2005)
New Revision: 2101
Modified:
lib/python/bugs.py
Log:
lib/python/bugs.py (FileBase.__iter__):
Accept "- PACKAGE not-affected" (i.e. without comment).
Modified: lib/python/bugs.py
===================================================================
--- lib/python/bugs.py 2005-09-22 20:42:03 UTC (rev 2100)
+++ lib/python/bugs.py 2005-09-22 21:05:28 UTC (rev 2101)
@@ -646,8 +646,10 @@
# '0' is the minimum version number possible.
pkg_notes.append(PackageNoteParsed
(p, '0', None, release=release))
- # 'd' is a free-form field in this case.
- comments.append(('NOTE', d))
+ # 'd' is a free-form field in this case,
+ # if it is present.
+ if d:
+ comments.append(('NOTE', d))
else:
x = PackageNoteParsed(p, v, d, release=release)
pkg_notes.append(x)
More information about the Secure-testing-commits
mailing list