From: Mark Hymers Date: Sat, 14 Mar 2009 10:51:31 +0000 (+0000) Subject: move lower() call into database.py X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1520c50be414c3b56df277fd0edda01efa5d4d15;p=dak move lower() call into database.py Signed-off-by: Mark Hymers --- diff --git a/dak/make_overrides.py b/dak/make_overrides.py index e0e1e5b2..7ac3ec27 100755 --- a/dak/make_overrides.py +++ b/dak/make_overrides.py @@ -118,7 +118,7 @@ def main (): database.init(Cnf, projectB) for suite in Cnf.SubTree("Check-Overrides::OverrideSuites").List(): - if database.get_suite_untouchable(suite.lower()): + if database.get_suite_untouchable(suite): continue suite = suite.lower() diff --git a/daklib/database.py b/daklib/database.py index 7ac6f2cc..90b8e6da 100755 --- a/daklib/database.py +++ b/daklib/database.py @@ -499,7 +499,7 @@ def get_suite_untouchable(suite): suite_id = None if type(suite) == str: - suite_id = get_suite_id(suite) + suite_id = get_suite_id(suite.lower()) elif type(suite) == int: suite_id = suite else: