[dak/master] Really fix the armel reject mess. I hope. Well. I pray. Maybe it works. Could be possible. Hope
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
ChangeLog | 2 ++
dak/process_unchecked.py | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index bc89250..879b6ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-11-23 Joerg Jaspert <joerg@debian.org>
+ * 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 e230103..84f9912 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))
--
1.5.6.5
Reply to: