summaryrefslogtreecommitdiffstats
path: root/lib/python/bugs.py
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2007-04-06 10:36:58 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2007-04-06 10:36:58 +0000
commit816ec33a08e0c454725b6b08b5d2ba134cd91535 (patch)
tree7934dcbf5277d766d379784b1be8a2ea8ad05bbf /lib/python/bugs.py
parent88e27a185b5ef86805670df50c8103501bdf9997 (diff)
After the release of etch, the DTSA file will contain historic
entries for etch, and new ones for lenny. Our previous automatic tagging of all entries as etch does not work anymore. Hence, we make the release indicator explicit. * lib/python/bugs.py (DTSAFile.finishBug): Verify that a release has been specified. No longer default to "etch". * data/DTSA/list Mark all entries as etch. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5632 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/bugs.py')
-rw-r--r--lib/python/bugs.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/python/bugs.py b/lib/python/bugs.py
index b770d5f1ef..8c95f3e5cf 100644
--- a/lib/python/bugs.py
+++ b/lib/python/bugs.py
@@ -895,11 +895,10 @@ class DTSAFile(FileBase):
# Convert all package notes to notes for etch (testing).
testing = debian_support.internRelease("etch")
for n in bug.notes:
- if n.release is not None:
+ if n.release is None:
self.raiseSyntaxError(
- "no release annotations allowed in DTSA files",
+ "release annotations required in DTSA files",
lineno=bug.source_line)
- n.release = testing
return bug
def test():

© 2014-2024 Faster IT GmbH | imprint | privacy policy