From: Otavio Salvador Date: Sat, 14 Jun 2008 17:56:02 +0000 (-0300) Subject: dak/check_overrides.py (main): Use case-insensitive comparing for codename X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29f058b9f717dbae1319369d7b44c99dc9e6e162;p=dak dak/check_overrides.py (main): Use case-insensitive comparing for codename --- 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)" \