]> git.decadent.org.uk Git - dak.git/blobdiff - dak/control_overrides.py
untouchable
[dak.git] / dak / control_overrides.py
index 1add8f5b7627060fa3d9ef2f65937f6d050ee536..5d6ba46ce6eefe33bd2b1b1ef8b8e1691bcc56c9 100755 (executable)
@@ -297,7 +297,7 @@ def main ():
     if action == "list":
         list_overrides(suite, component, otype)
     else:
-        if Cnf.has_key("Suite::%s::Untouchable" % suite) and Cnf["Suite::%s::Untouchable" % suite] != 0:
+        if database.get_suite_untouchable(suite):
             utils.fubar("%s: suite is untouchable" % suite)
 
         noaction = 0