summaryrefslogtreecommitdiffstats
path: root/lib/python/bugs.py
diff options
context:
space:
mode:
authorMichael Gilbert <michael.s.gilbert@gmail.com>2010-02-07 22:10:53 +0000
committerMichael Gilbert <michael.s.gilbert@gmail.com>2010-02-07 22:10:53 +0000
commitbede46e7ea668e6832b233460ebb47d599fb6a0d (patch)
tree09dd2a98d54fdaedcba97f06ffe1327c208a1834 /lib/python/bugs.py
parent7f003fb7b8bf5af6a55e5eab7bf863cadb64c81e (diff)
use nvd urgencies and add finer control for per-release pages
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@14058 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib/python/bugs.py')
-rw-r--r--lib/python/bugs.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/python/bugs.py b/lib/python/bugs.py
index 482149d7aa..b3edb0b4ee 100644
--- a/lib/python/bugs.py
+++ b/lib/python/bugs.py
@@ -23,7 +23,7 @@ class Urgency(debian_support.PseudoEnum): pass
def listUrgencies():
urgencies = {}
- urgs = ("high", "medium", "low", "unimportant", "undetermined")
+ urgs = ('high', 'medium', 'low', 'unimportant', 'not yet assigned')
for u in range(len(urgs)):
urgencies[urgs[u]] = Urgency(urgs[u], -u)
Urgency.urgencies = urgencies
@@ -140,10 +140,7 @@ class PackageNoteParsed(PackageNote):
def __init__(self, package, version, notes, release=None):
bugs = []
- if version == 'undetermined':
- urgency = 'undetermined'
- else:
- urgency = 'low'
+ urgency = 'not yet assigned'
if notes is not None:
for n in self.re_notes_split.split(notes):
u = internUrgency(n)

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