[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.3.4-33-g4d7501e



The following commit has been merged in the master branch:
commit 5529bc1fe8f61cb6a4ca46ba18c05fc04c7cf2e3
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Wed Jan 6 20:12:32 2010 +0000

    Remove special-casing of .changes files in file_start()

diff --git a/lib/Lintian/Tags.pm b/lib/Lintian/Tags.pm
index d519b11..f4b36bb 100644
--- a/lib/Lintian/Tags.pm
+++ b/lib/Lintian/Tags.pm
@@ -500,14 +500,12 @@ sub file_start {
         tags      => {},
         overrides => {},
     };
-    if ($self->{current} && $self->{current} !~ /\.changes$/) {
+    if ($self->{current}) {
         my $info = $self->{info}{$self->{current}};
         $Lintian::Output::GLOBAL->print_end_pkg($info);
     }
     $self->{current} = $file;
-    if ($file !~ /\.changes$/) {
-        $Lintian::Output::GLOBAL->print_start_pkg($self->{info}{$file});
-    }
+    $Lintian::Output::GLOBAL->print_start_pkg($self->{info}{$file});
 }
 
 =item file_overrides(OVERRIDE-FILE)

-- 
Debian package checker


Reply to: