From: Otavio Salvador Date: Mon, 2 Jun 2008 02:16:25 +0000 (-0300) Subject: * daklib/queue.py (check_valid): allow debian-installer specific sources to have... X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b16b80f441c03891f21ed837a3f0b03f20e30ad0;p=dak.git * daklib/queue.py (check_valid): allow debian-installer specific sources to have 'debian-installer' section. --- diff --git a/ChangeLog b/ChangeLog index 24b4f45b..df10978b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-01 Otavio Salvador + + * daklib/queue.py (check_valid): allow debian-installer specific + sources to have 'debian-installer' section. + 2008-05-28 Frans Pop * add autobyhand support for task overrides (from tasksel) 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"):