]> git.decadent.org.uk Git - dak.git/commitdiff
* daklib/queue.py (check_valid): allow debian-installer specific sources to have...
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 2 Jun 2008 02:16:25 +0000 (23:16 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 2 Jun 2008 02:16:25 +0000 (23:16 -0300)
ChangeLog
daklib/queue.py

index 24b4f45bb0b164e8edaedcb5429d3f1238c66679..df10978b92c2efaed3b470cd48bc245988810d07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-01  Otavio Salvador  <otavio@debian.org>
+
+       * daklib/queue.py (check_valid): allow debian-installer specific
+       sources to have 'debian-installer' section.
+
 2008-05-28  Frans Pop  <fjp@debian.org>
 
        * add autobyhand support for task overrides (from tasksel)
index f35ee18cbd4b37c950e57cafe999a053d6b7aa35..124781993a7deb27e82769ed7bc1fe5dc673d58d 100755 (executable)
@@ -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"):