From: Joerg Jaspert Date: Sat, 28 Feb 2009 21:28:26 +0000 (+0100) Subject: pdiff X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=db36ba4ad09f2b03f51e376c94b3f3879d7a01f2;p=dak.git pdiff use the architectures from the database Signed-off-by: Joerg Jaspert --- diff --git a/dak/generate_index_diffs.py b/dak/generate_index_diffs.py index 2b06146b..097707d8 100755 --- a/dak/generate_index_diffs.py +++ b/dak/generate_index_diffs.py @@ -38,6 +38,7 @@ import subprocess import time import apt_pkg from daklib import utils +from daklib import database ################################################################################ @@ -322,7 +323,9 @@ def main(): suite = suite.lower() - architectures = SuiteBlock.ValueList("Architectures") + architectures = database.get_suite_architectures(suite) + if architectures == None: + architectures = [] if SuiteBlock.has_key("Components"): components = SuiteBlock.ValueList("Components")