From: Joerg Jaspert Date: Sun, 23 Nov 2008 21:12:25 +0000 (+0100) Subject: Really fix the armel reject mess. I hope. Well. I pray. Maybe it works. Could be... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=316986ff5d1de5697b73f839158f183f89a77d88;p=dak Really fix the armel reject mess. I hope. Well. I pray. Maybe it works. Could be possible. Hope Signed-off-by: Joerg Jaspert --- diff --git a/ChangeLog b/ChangeLog index bc89250e..879b6ed2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-11-23 Joerg Jaspert + * dak/process_unchecked.py (check_files): fix this armel mess + * config/debian-security/dak.conf: Set ValidTime * config/debian-security/cron.weekly: Added diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index e2301035..84f99124 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -450,7 +450,7 @@ def check_files(): # Ensure the architecture of the .deb is one we know about. default_suite = Cnf.get("Dinstall::DefaultSuite", "Unstable") architecture = control.Find("Architecture") - upload_suite = changes["distribution"] + upload_suite = changes["distribution"].keys()[0] if architecture not in Cnf.ValueList("Suite::%s::Architectures" % (default_suite)) and architecture not in Cnf.ValueList("Suite::%s::Architectures" % (upload_suite)): reject("Unknown architecture '%s'." % (architecture))