X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=c3b5d2011c0306d4f551b6ed1bcc4336e7c7e25a;hb=b21637628cd8a4b4ac060efc6396ff966ddfe8a8;hp=d6a25b0e8361544a6c57e7f203f276e184ef7816;hpb=d01b87da9158bfdc35fdb0628556fd3c9bb49eae;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index d6a25b0e..c3b5d201 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -36,6 +36,8 @@ import daklib.queue import daklib.utils from types import * +from syck import * + ################################################################################ @@ -405,7 +407,7 @@ def check_files(): files[file]["type"] = "unreadable" continue # If it's byhand skip remaining checks - if files[file]["section"] == "byhand" or files[file]["section"][4:] == "raw-": + if files[file]["section"] == "byhand" or files[file]["section"][:4] == "raw-": files[file]["byhand"] = 1 files[file]["type"] = "byhand" # Checks for a binary package... @@ -1285,7 +1287,8 @@ def queue_unembargo (summary, short_summary): ################################################################################ def is_embargo (): - return 0 + # if embargoed queues are enabled always embargo + return 1 def queue_embargo (summary, short_summary): print "Moving to EMBARGOED holding area." @@ -1521,6 +1524,8 @@ def process_it (changes_file): check_urgency() check_timestamps() check_signed_by_key() + if changes["architecture"].has_key("source"): + daklib.queue.check_transition(changes["source"]) Upload.update_subst(reject_message) action() except SystemExit: