Subject: [PATCH 14/25] Remove special-casing of .changes files in file_start()

From: Adam D. Barratt <[email-masked]>
Date: Wed, 6 Jan 2010 20:12:32 +0000

---
 lib/Lintian/Tags.pm |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

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)
-- 
1.6.6