From: Joerg Jaspert Date: Sat, 7 Jun 2008 23:18:40 +0000 (+0200) Subject: Lowercase urgency a little earlier X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b59e8655f32836bdb914772720e0b94c10a3ec79;p=dak Lowercase urgency a little earlier --- diff --git a/ChangeLog b/ChangeLog index 24b4f45b..a71b8bdb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-08 Joerg Jaspert + + * dak/process_unchecked.py (check_urgency): Lowercase urgency + before we (eventually) warn on it. Patch taken from Russ Allbery. + 2008-05-28 Frans Pop * add autobyhand support for task overrides (from tasksel) diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 34d1739f..9b8d4de5 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -906,10 +906,10 @@ def check_urgency (): if changes["architecture"].has_key("source"): if not changes.has_key("urgency"): changes["urgency"] = Cnf["Urgency::Default"] + changes["urgency"] = changes["urgency"].lower() if changes["urgency"] not in Cnf.ValueList("Urgency::Valid"): reject("%s is not a valid urgency; it will be treated as %s by testing." % (changes["urgency"], Cnf["Urgency::Default"]), "Warning: ") changes["urgency"] = Cnf["Urgency::Default"] - changes["urgency"] = changes["urgency"].lower() ################################################################################