Commit ad74524e authored by Jelmer Vernooij's avatar Jelmer Vernooij

Don't attempt to remove python*-*-dbg packages; they include _d.so

files that are not in -dbgsym packages.
parent 64c11149
......@@ -2,6 +2,8 @@ lintian-brush (0.9) UNRELEASED; urgency=medium
* Add CI configuration for Salsa.
* Add fixer for unnecessary-team-upload.
* Don't attempt to remove python*-*-dbg packages; they include _d.so
files that are not in -dbgsym packages.
-- Jelmer Vernooij <jelmer@debian.org> Fri, 23 Nov 2018 13:59:02 +0000
......
......@@ -5,6 +5,7 @@ import sys
from lintian_brush.control import (
ensure_minimum_version,
update_control,
parse_relations,
)
minimum_version = "9.20160114"
......@@ -23,7 +24,12 @@ dbg_migration_done = set()
def del_dbg(control):
# Delete the freeradius-dbg package from debian/control
if control["Package"].endswith('-dbg'):
package = control["Package"]
if package.endswith('-dbg'):
if package.startswith('python'):
# -dbgsym packages don't include _d.so files for the python
# interpreter
return
dbg_packages.add(control["Package"])
control.clear()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment