X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=124781993a7deb27e82769ed7bc1fe5dc673d58d;hb=a74ba427eedd2e1ef44a0ca697f2c61760a0e584;hp=f35ee18cbd4b37c950e57cafe999a053d6b7aa35;hpb=1d79ca7f4979f4b1d1b7741b4d2ab8af8db7c347;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index f35ee18c..12478199 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -129,7 +129,7 @@ def check_valid(new): new[pkg]["priority id"] = database.get_priority_id(new[pkg]["priority"]) # Sanity checks di = section.find("debian-installer") != -1 - if (di and file_type != "udeb") or (not di and file_type == "udeb"): + if (di and file_type not in ("udeb", "dsc")) or (not di and file_type == "udeb"): new[pkg]["section id"] = -1 if (priority == "source" and file_type != "dsc") or \ (priority != "source" and file_type == "dsc"):