[SCM] Debian package checker branch, master, updated. 2.3.4-33-g4d7501e
The following commit has been merged in the master branch:
commit 8f788d33386eb0dcad4574a4e45f9433f08e405f
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date: Wed Jan 6 21:02:11 2010 +0000
Treat the absence of a Version field as an empty version
diff --git a/lib/Lintian/Schedule.pm b/lib/Lintian/Schedule.pm
index 7ffdd4f..5934d6b 100644
--- a/lib/Lintian/Schedule.pm
+++ b/lib/Lintian/Schedule.pm
@@ -55,7 +55,7 @@ sub add_file {
}
$pkg ||= '';
# "0" is a valid version, so we can't use || here
- $ver = '' unless length $ver;
+ $ver = '' unless defined $ver and length $ver;
$arch ||= '';
if ( $pkg =~ m,/, ) {
--
Debian package checker
Reply to: