]> git.decadent.org.uk Git - dak.git/blobdiff - dak/process_unchecked.py
move process_unchecked changes intoconfig/debian/extensions.py
[dak.git] / dak / process_unchecked.py
index d6a25b0e8361544a6c57e7f203f276e184ef7816..4a4cfd6b341d35f1f4e07e4425d2d30349eb9aeb 100755 (executable)
@@ -405,7 +405,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 +1285,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."