From 29f058b9f717dbae1319369d7b44c99dc9e6e162 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sat, 14 Jun 2008 14:56:02 -0300 Subject: [PATCH] dak/check_overrides.py (main): Use case-insensitive comparing for codename --- ChangeLog | 5 +++++ dak/check_overrides.py | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 21939244..2c751e9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-14 Otavio Salvador + + * dak/check_overrides.py (main): Use case-insensitive comparing + for codename + 2008-06-14 Joerg Jaspert * scripts/debian/byhand-task: Merged patch from Frans Pop to diff --git a/dak/check_overrides.py b/dak/check_overrides.py index 2a576b58..f276dbae 100644 --- a/dak/check_overrides.py +++ b/dak/check_overrides.py @@ -314,10 +314,10 @@ def main (): print "Processing %s%s..." % (osuite, originremark) # Get a list of all suites that use the override file of 'osuite' - ocodename = Cnf["Suite::%s::codename" % osuite] + ocodename = Cnf["Suite::%s::codename" % osuite].lower() suites = [] for suite in Cnf.SubTree("Suite").List(): - if ocodename == Cnf["Suite::%s::OverrideCodeName" % suite]: + if ocodename == Cnf["Suite::%s::OverrideCodeName" % suite].lower(): suites.append(suite) q = projectB.query("SELECT id FROM suite WHERE suite_name in (%s)" \ -- 2.39.5