]> git.decadent.org.uk Git - dak.git/commitdiff
pdiff
authorJoerg Jaspert <joerg@debian.org>
Sat, 28 Feb 2009 21:28:26 +0000 (22:28 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 28 Feb 2009 21:28:26 +0000 (22:28 +0100)
use the architectures from the database

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/generate_index_diffs.py

index 2b06146b3b1e00aeff6bfaacebe56cbd0932605d..097707d8a5848a5b1a67df95d1b8d81773c83446 100755 (executable)
@@ -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")