From 316986ff5d1de5697b73f839158f183f89a77d88 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 23 Nov 2008 22:12:25 +0100 Subject: [PATCH] Really fix the armel reject mess. I hope. Well. I pray. Maybe it works. Could be possible. Hope Signed-off-by: Joerg Jaspert --- ChangeLog | 2 ++ dak/process_unchecked.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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)) -- 2.39.2