Commit 326c568d authored by Felix Lechner's avatar Felix Lechner Committed by Chris Lamb

In checks/, use new changelog parser.

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

Gbp-Dch: ignore
parent 2f9e7b9c
......@@ -333,10 +333,9 @@ sub run {
# get the last changelog timestamp
# if for some weird reasons the timestamp does
# not exist, it will remain 0
my $changes = $info->changelog;
my $changelog_timestamp = 0;
if (defined $changes) {
my ($entry) = $changes->data;
if (defined $info->changelog) {
my ($entry) = @{$info->changelog->entries};
if ($entry && $entry->Timestamp) {
$changelog_timestamp = $entry->Timestamp;
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