]> git.decadent.org.uk Git - dak.git/commitdiff
move lower() call into database.py
authorMark Hymers <mhy@debian.org>
Sat, 14 Mar 2009 10:51:31 +0000 (10:51 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 14 Mar 2009 10:51:31 +0000 (10:51 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/make_overrides.py
daklib/database.py

index e0e1e5b281d50e7b0c958fceb1b271ff370ecce3..7ac3ec275fa6a1e04ba471bbc68927e72e6cab88 100755 (executable)
@@ -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()
 
index 7ac6f2cce116895e225cd2875fc89a1a7224c786..90b8e6dac1a964cf30b7c3db79d87ddd3e91e2b0 100755 (executable)
@@ -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: