From b59e8655f32836bdb914772720e0b94c10a3ec79 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 8 Jun 2008 01:18:40 +0200 Subject: [PATCH] Lowercase urgency a little earlier --- ChangeLog | 5 +++++ dak/process_unchecked.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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() ################################################################################ -- 2.39.5