From b16b80f441c03891f21ed837a3f0b03f20e30ad0 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 1 Jun 2008 23:16:25 -0300 Subject: [PATCH] * daklib/queue.py (check_valid): allow debian-installer specific sources to have 'debian-installer' section. --- ChangeLog | 5 +++++ daklib/queue.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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"): -- 2.39.5