The following commit has been merged in the master branch:
commit d7e61ed7cee42227a403c539ae1e474d5f513181
Author: Niels Thykier <[email protected]>
Date:   Sat Sep 10 13:45:59 2011 +0200

    Use verbosity_level instead of verbose in lib/Lab.pm
    
    The verbose method has been replaced with verbosity_level.

diff --git a/debian/changelog b/debian/changelog
index c65fe42..3e2034f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+lintian (2.5.4) UNRELEASED; urgency=low
+
+  * lib/Lab.pm:
+    + [NT] Updated it to use Lintian::Output::verbosity_level rather
+      than verbose.
+
+ -- Niels Thykier <[email protected]>  Sat, 10 Sep 2011 13:44:01 +0200
+
 lintian (2.5.3) unstable; urgency=low
 
   The "Another 51 bites the dust.  169 left to go." release.
diff --git a/lib/Lab.pm b/lib/Lab.pm
index 8bda158..79eda17 100644
--- a/lib/Lab.pm
+++ b/lib/Lab.pm
@@ -181,7 +181,7 @@ sub _populate_with_dist {
 
     debug_msg(2, "spawning list-binpkg and list-srcpkg since 
LINTIAN_DIST=$ENV{'LINTIAN_DIST'}");
 
-    my $v = $Lintian::Output::GLOBAL->verbose ? '-v' : '';
+    my $v = $Lintian::Output::GLOBAL->verbosity_level() > 0 ? '-v' : '';
     my %opts = ( out => $Lintian::Output::GLOBAL->stdout );
     spawn(\%opts, ["$LINTIAN_ROOT/unpack/list-binpkg",
                  "$self->{dir}/info/binary-packages", $v])

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to