[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] debug packages now also have "Auto-Built-Package: debug-symbols"



---
 daklib/utils.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/daklib/utils.py b/daklib/utils.py
index 518d66e..00699ec 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"
-- 
2.1.4



Reply to: