Commit ebf68621 authored by Felix Lechner's avatar Felix Lechner Committed by Chris Lamb

In checks/python.pm, use new changelog parser.

In response to Bug#933134, the changelog parser became part of
Lintian. This commit uses it in checks/python.pm.

Gbp-Dch: ignore
parent af1bfdc7
......@@ -168,7 +168,10 @@ sub _run_binary {
my $deps = Lintian::Relation->and($info->relation('all'),
$info->relation('provides'), $pkg);
my @entries = $info->changelog ? $info->changelog->data : ();
my @entries
= $info->changelog
? @{$info->changelog->entries}
: ();
# Check for missing dependencies
if ($pkg !~ /-dbg$/) {
......
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