From: Ansgar Burchardt Date: Sat, 19 Dec 2015 09:56:41 +0000 (+0100) Subject: debug packages now also have "Auto-Built-Package: debug-symbols" X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b7fd3112758e847ac708d7c10ef025eaad19687a;p=dak.git debug packages now also have "Auto-Built-Package: debug-symbols" --- diff --git a/daklib/utils.py b/daklib/utils.py index 518d66e9..00699ec4 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -1338,4 +1338,5 @@ def is_in_debug_section(control): @return: True if the binary package is a debug package """ section = control['Section'].split('/', 1)[-1] - return section == "debug" + auto_built_package = control.get("Auto-Built-Package") + return section == "debug" and auto_built_package == "debug-symbols"