The following commit has been merged in the master branch:
commit 8d7d1caa6ddf3d3eee696dc17501d389d2d344b6
Author: Niels Thykier <[email protected]>
Date:   Sun Jan 27 14:33:56 2013 +0100

    lintian: Remove redundant "require Cwd"
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/frontend/lintian b/frontend/lintian
index b301bb6..2c86abd 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1568,10 +1568,9 @@ sub _find_changes {
 
 sub _guess_version {
     require File::Basename;
-    require Cwd;
     my ($frontend) = @_;
     my $guess;
-    my $absfront = Cwd::abs_path ($frontend);
+    my $absfront = abs_path ($frontend);
     my $rootdir;
     return '' unless $absfront;
     $rootdir = File::Basename::dirname (File::Basename::dirname ($absfront));

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