diff options
author | Moritz Muehlenhoff <jmm@debian.org> | 2009-12-27 22:25:37 +0000 |
---|---|---|
committer | Moritz Muehlenhoff <jmm@debian.org> | 2009-12-27 22:25:37 +0000 |
commit | 7ccb88bfcb7291aba3cb2ab09d362439b2f101a9 (patch) | |
tree | 5d63f5eb556284344510df42448453d4aa0d1e36 /lib/python/bugs.py | |
parent | ee5bec6ffd283738d534f1ee6c6857a07ce5cefb (diff) |
Let's just go ahead and commit to see if it works. If anything
breaks, I'll revert. Unfortunately I don't have a test setup
for the Security Tracker and I don't know how to setup one.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@13667 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/bugs.py')
-rw-r--r-- | lib/python/bugs.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/python/bugs.py b/lib/python/bugs.py index 7c4c01beb3..9705597b86 100644 --- a/lib/python/bugs.py +++ b/lib/python/bugs.py @@ -568,6 +568,17 @@ class FileBase(debian_support.PackageFile): if r[-1] == '\n': r = r[:-1] comments.append(('NOTE', r)) + elif v == 'end-of-life': + pkg_notes.append(PackageNoteParsed + (p, '0', 'unimportant', + release=release)) + 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 == 'no-dsa': if not release: self.raiseSyntaxError( |