[SCM] Debian package checker branch, master, updated. 2.3.3-5-gdbd2c69
The following commit has been merged in the master branch:
commit dbd2c69063b6c2ce9caec7016ce16dcd4324e563
Author: Jordà Polo <jorda@ettin.org>
Date: Tue Mar 9 15:36:41 2010 +0100
Don't link to references with no URL
* lib/Lintian/Tag/Info.pm:
+ [JP] Don't link to references with no URL. (Closes: #572297)
diff --git a/debian/changelog b/debian/changelog
index d3822bb..6f8a6db 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ lintian (2.3.4) UNRELEASED; urgency=low
+ [RG] Update package description to mention Policy version 3.8.4
instead of 3.8.3. Should have been done on the previous release.
+ * lib/Lintian/Tag/Info.pm:
+ + [JP] Don't link to references with no URL. (Closes: #572297)
+
* man/lintian-info.1:
+ [CW] Fix typo.
diff --git a/lib/Lintian/Tag/Info.pm b/lib/Lintian/Tag/Info.pm
index 21844ba..1f504a2 100644
--- a/lib/Lintian/Tag/Info.pm
+++ b/lib/Lintian/Tag/Info.pm
@@ -220,7 +220,7 @@ sub _manual_reference {
if ($section and exists $MANUALS{$manual}{$section}) {
my $title = $MANUALS{$manual}{$section}{title};
my $url = $MANUALS{$manual}{$section}{url};
- $text .= qq[ (<a href="$url">$title</a>)];
+ $text .= $url ? qq[ (<a href="$url">$title</a>)] : qq[ ($title)];
}
return $text;
--
Debian package checker
Reply to: