X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fgenerate_index_diffs.py;h=4222c0cf4fb9446b0bc19a7127dab4e9fe4da24e;hb=1e5659500391bce37a28870ef7bce5c59eba68c7;hp=4c941972a46138cd2bfc1e5861758a63dbc8eb78;hpb=5bd09c6c4c46e2e449f9cef5c1c8c58a971a6523;p=dak.git diff --git a/dak/generate_index_diffs.py b/dak/generate_index_diffs.py index 4c941972..4222c0cf 100755 --- a/dak/generate_index_diffs.py +++ b/dak/generate_index_diffs.py @@ -34,12 +34,11 @@ import sys import os import tempfile -import subprocess import time import apt_pkg -import pg + from daklib import utils -from daklib.dbconn import get_suite +from daklib.dbconn import get_suite, get_suite_architectures ################################################################################ @@ -314,13 +313,13 @@ def main(): suites = Cnf.SubTree("Suite").List() for suitename in suites: - print "Processing: " + suite + print "Processing: " + suitename SuiteBlock = Cnf.SubTree("Suite::" + suitename) suiteobj = get_suite(suitename.lower()) # Use the canonical version of the suite name - suite = suite.suite_name + suite = suiteobj.suite_name if suiteobj.untouchable: print "Skipping: " + suite + " (untouchable)"