X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=e2301035ccff9050c3b8677ff911b2f34f772b78;hb=af3fb8ff907988fdf6b94a04f073dc3168503999;hp=5884db181ab6bf302a6a177e5ee8f6a1d06e29ab;hpb=60b5dcd3ef84f26959c514cb7730e1d1a1e4e4f8;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 5884db18..e2301035 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -450,7 +450,8 @@ 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") - if architecture not in Cnf.ValueList("Suite::%s::Architectures" % (default_suite)): + upload_suite = changes["distribution"] + 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)) # Ensure the architecture of the .deb is one of the ones