]> git.decadent.org.uk Git - dak.git/blobdiff - dak/compare_suites.py
get_suite_architectures
[dak.git] / dak / compare_suites.py
index 8c367582663622701c48ea49803931050ccb846c..01652d94fc953a93a2c58e5b53624f3c5a0c5a50 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-# Check for fixable discrepancies between stable and unstable
+""" Check for fixable discrepancies between stable and unstable """
 # Copyright (C) 2000, 2001, 2002, 2003, 2006  James Troup <james@nocrew.org>
 
 # This program is free software; you can redistribute it and/or modify
@@ -67,7 +67,7 @@ def main ():
     arch_all_id = database.get_architecture_id("all")
     dsc_type_id = database.get_override_type_id("dsc")
 
-    for arch in Cnf.ValueList("Suite::%s::Architectures" % (src_suite)):
+    for arch in database.get_suite_architectures(src_suite_id):
         if arch == "source":
             continue