use the architectures from the database
Signed-off-by: Joerg Jaspert <joerg@debian.org>
import time
import apt_pkg
from daklib import utils
+from daklib import database
################################################################################
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")