[Secure-testing-commits] r2568 - lib/python
Florian Weimer
fw at costa.debian.org
Tue Oct 25 13:59:23 UTC 2005
Author: fw
Date: 2005-10-25 13:59:22 +0000 (Tue, 25 Oct 2005)
New Revision: 2568
Modified:
lib/python/bugs.py
Log:
lib/python/bugs.py (FileBase.__iter__):
Include NOT-FOR-US: reason in comment.
Modified: lib/python/bugs.py
===================================================================
--- lib/python/bugs.py 2005-10-25 13:53:18 UTC (rev 2567)
+++ lib/python/bugs.py 2005-10-25 13:59:22 UTC (rev 2568)
@@ -713,9 +713,11 @@
self.raiseSyntaxError\
('package information not allowed in not-for-us bugs',
first_lineno)
+ if not_for_us:
+ comments[:0] = [('NOTE', 'NOT-FOR-US: ' + not_for_us)]
yield self.finishBug(Bug(self.file.name, first_lineno, date,
record_name, description, comments,
- notes=[], xref=xref,
+ [], xref=xref,
not_for_us=True))
else:
if not self.isUniqueName(record_name):
More information about the Secure-testing-commits
mailing list