diff options
author | Holger Levsen <holger@debian.org> | 2014-09-25 07:36:54 +0000 |
---|---|---|
committer | Holger Levsen <holger@debian.org> | 2014-09-25 07:36:54 +0000 |
commit | 27390bda1a22cc5ad1c68108c702ad061dbf266e (patch) | |
tree | 173181ddb0a06b192bf8a00d3cb4afb5dc3767de /lib/python/bugs.py | |
parent | 88e2e8c8aea9aeee520927c84c3d737906dbb899 (diff) |
Display end-of-life information in the web view. (Closes: #642987) -
abuses urgency for now, until the packages_notes table has a tag
column.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@29026 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/bugs.py')
-rw-r--r-- | lib/python/bugs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/bugs.py b/lib/python/bugs.py index 15908dcf0a..7258be720e 100644 --- a/lib/python/bugs.py +++ b/lib/python/bugs.py @@ -24,7 +24,7 @@ class Urgency(debian_support.PseudoEnum): pass def listUrgencies(): urgencies = {} - urgs = ('high', 'medium', 'low', 'unimportant', 'not yet assigned') + urgs = ('high', 'medium', 'low', 'unimportant', 'end-of-life', 'not yet assigned') for u in range(len(urgs)): urgencies[urgs[u]] = Urgency(urgs[u], -u) Urgency.urgencies = urgencies @@ -579,7 +579,7 @@ class FileBase(debian_support.PackageFile): comments.append(('NOTE', r)) elif v == 'end-of-life': pkg_notes.append(PackageNoteParsed - (p, '0', 'unimportant', + (p, None, 'end-of-life', release=release)) if d: # Not exactly ideal, but we have to |