[SCM] Debian package checker branch, master, updated. 1.24.4-123-g85e96ff
The following commit has been merged in the master branch:
commit 13b9ec85aefaa9c3d343b01baa30c3699b1132b2
Author: Frank Lichtenheld <djpig@debian.org>
Date: Sat Sep 13 03:00:50 2008 +0200
Tags::tag: Ignore extra information that is undefined or empty
I see no need for that and it makes it easier for the caller sometimes.
diff --git a/lib/Tags.pm b/lib/Tags.pm
index 452e3ee..db9a402 100644
--- a/lib/Tags.pm
+++ b/lib/Tags.pm
@@ -364,7 +364,7 @@ sub tag {
! keys %only_issue_tags or exists $only_issue_tags{$tag};
# Newlines in @information would cause problems, so replace them with \n.
- @information = map { s,\n,\\n,; $_ } @information;
+ @information = grep { defined($_) and $_ ne '' } map { s,\n,\\n,; $_ } @information;
my $tag_info = get_tag_info( $tag );
unless ($tag_info) {
--
Debian package checker
Reply to: