[SCM] Debian package checker branch, master, updated. 2.5.10-67-g7d1e765
The following commit has been merged in the master branch:
commit 7d1e765cbcd02917f788b8603e1338e7d2e2a855
Author: Niels Thykier <niels@thykier.net>
Date: Sun Jul 22 13:06:18 2012 +0200
L::Path: Remove unused import shadowing a class method
The import of dirname shadows the L::Path method of same name causing
the dirname method always to return "." (which in turn breaks
link_resolved on relative links).
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/lib/Lintian/Path.pm b/lib/Lintian/Path.pm
index 88be416..b16b7ef 100644
--- a/lib/Lintian/Path.pm
+++ b/lib/Lintian/Path.pm
@@ -24,7 +24,6 @@ use warnings;
use base qw(Class::Accessor);
use Carp qw(croak);
-use File::Basename qw(dirname);
use Lintian::Util qw(resolve_pkg_path);
--
Debian package checker
Reply to: