]> git.decadent.org.uk Git - dak.git/commitdiff
dak/check_overrides.py (main): Use case-insensitive comparing for codename
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 14 Jun 2008 17:56:02 +0000 (14:56 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 14 Jun 2008 18:29:44 +0000 (15:29 -0300)
ChangeLog
dak/check_overrides.py

index 2193924442f4ac02ca612e5d28d305eb0efe572b..2c751e9a1ce7c96a5d39eb66fee6a1cd40867ca7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-14  Otavio Salvador  <otavio@debian.org>
+
+       * dak/check_overrides.py (main): Use case-insensitive comparing
+       for codename
+
 2008-06-14  Joerg Jaspert  <joerg@debian.org>
 
        * scripts/debian/byhand-task: Merged patch from Frans Pop to
index 2a576b58ad1c77ba7e19b4032ba7831bc504bc79..f276dbae304e356443fd430b03b2d0f2daedd2a1 100644 (file)
@@ -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)" \