From db36ba4ad09f2b03f51e376c94b3f3879d7a01f2 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 28 Feb 2009 22:28:26 +0100 Subject: [PATCH] pdiff use the architectures from the database Signed-off-by: Joerg Jaspert --- dak/generate_index_diffs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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") -- 2.39.5