X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=124781993a7deb27e82769ed7bc1fe5dc673d58d;hb=bfb720086beb02662539b11bb2f77216d73a948d;hp=f35ee18cbd4b37c950e57cafe999a053d6b7aa35;hpb=05e649f2cfaa94ac361cb2df2e9a810adeb9c943;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"):