From 1520c50be414c3b56df277fd0edda01efa5d4d15 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 14 Mar 2009 10:51:31 +0000 Subject: [PATCH] move lower() call into database.py Signed-off-by: Mark Hymers --- dak/make_overrides.py | 2 +- daklib/database.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: -- 2.39.5