Commit 5d206756 authored by Felix Lechner's avatar Felix Lechner Committed by Chris Lamb

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

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

Gbp-Dch: ignore
parent ebf68621
......@@ -260,7 +260,11 @@ sub run {
$info->sorted_index;
my %old_versions;
for my $entry ($info->changelog ? $info->changelog->data : ()) {
for my $entry (
$info->changelog
? @{$info->changelog->entries}
: ()
) {
my $timestamp = $entry->Timestamp // $OLDSTABLE_RELEASE;
$old_versions{$entry->Version} = $timestamp
if $timestamp < $OLDSTABLE_RELEASE;
......
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