The following commit has been merged in the master branch:
commit 36ae4a7e8f30c3dadde1d250dd02fa161cf71533
Author: Niels Thykier <[email protected]>
Date:   Tue Jan 29 10:33:51 2013 +0100

    lintian: Add missing "require Parse::DebianChangelog"
    
    When attempting to guess the version of Lintian from d/changelog,
    ensure Parse::DebianChangelog is actually loaded before we use it.
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/frontend/lintian b/frontend/lintian
index 6eef2cf..416bbff 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1604,6 +1604,7 @@ sub _guess_version {
     }
     # git was not possible - maybe the changelog is available
     if ( -f "$rootdir/debian/changelog" ) {
+        require Parse::DebianChangelog;
         eval {
             my $changelog = Parse::DebianChangelog->init({ infile => 
"$rootdir/debian/changelog" });
             $guess = $changelog->dpkg()->{'Version'} if $changelog;

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