X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Futils.py;h=00699ec410f6963360166f032c3e41a3f4e5d5a3;hb=b7fd3112758e847ac708d7c10ef025eaad19687a;hp=518d66e9f36d7aaa1159a6454176c7f4eba15706;hpb=f78bd8701c00ed40424df8cb9ca643f12319eea8;p=dak.git 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"