The following commit has been merged in the master branch:
commit 134f9b01574760ff0da853e9434d3a8bb72a2be5
Author: Raphael Geissert <atom...@gmail.com>
Date:   Thu Jan 27 13:51:47 2011 -0600

    Remove spurious line added by accident
    
    Perl::Critic's warning there is a false positive, since the regex uses
    /i modifier.

diff --git a/checks/changes-file b/checks/changes-file
index f51f13e..49e8ee2 100644
--- a/checks/changes-file
+++ b/checks/changes-file
@@ -88,7 +88,6 @@ if (defined $info->field('distribution')) {
     } else {
        my $urgency = lc $info->field('urgency');
        $urgency =~ s/ .*//o;
-       my %urgencies = map { $_ => 1 } qw(low medium high critical emergency);
        unless ($urgency =~ /^(?:low|medium|high|critical|emergency)$/io) {
            tag 'bad-urgency-in-changes-file', $info->field('urgency');
        }

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pixtf-0000qs...@alioth.debian.org

Reply via email to