[lintian] 02/02: Use «tag "foo"» instead of «tag("foo")»
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch ppt-lc-mover
in repository lintian.
commit 61c55e301ab7dbcf7f5772e873354c3cc1e874ec
Author: Axel Beckert <abe@deuxchevaux.org>
Date: Thu Aug 13 23:41:28 2015 +0200
Use «tag "foo"» instead of «tag("foo")»
---
checks/application-not-library.pm | 6 +++---
checks/cruft.pm | 2 +-
checks/description.pm | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/checks/application-not-library.pm b/checks/application-not-library.pm
index 91e3a28..038b39c 100644
--- a/checks/application-not-library.pm
+++ b/checks/application-not-library.pm
@@ -64,16 +64,16 @@ sub run {
# Check for library style package names
if ($pkg =~ /^lib(?:.+)-perl$|^ruby-|^python[\d.]*-/) {
if ($pkg =~ /^libapp(?:.+)-perl$/) {
- tag('libapp-perl-package-name', @programs);
+ tag 'libapp-perl-package-name', @programs;
} else {
- tag('library-package-name-for-application', @programs);
+ tag 'library-package-name-for-application', @programs;
}
}
# Check for wrong section
my $section = $info->field('section', '');
if ($section =~ /perl|python|ruby|(?:^|\/)libs/) { # oldlibs is ok
- tag('application-in-library-section', "$section", @programs);
+ tag 'application-in-library-section', "$section", @programs;
}
return;
diff --git a/checks/cruft.pm b/checks/cruft.pm
index cdb3c50..6ff24a2 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -675,7 +675,7 @@ sub find_cruft {
# ignore comments
$contents =~ s/#.*$//m;
if ($contents =~ m{usr/lib/perl5}) {
- tag('mentions-deprecated-usr-lib-perl5-directory', $short);
+ tag 'mentions-deprecated-usr-lib-perl5-directory', $short;
}
}
}
diff --git a/checks/description.pm b/checks/description.pm
index acd678c..be9c958 100644
--- a/checks/description.pm
+++ b/checks/description.pm
@@ -269,7 +269,7 @@ sub run {
}
}
- tag('perl-module-name-not-mentioned-in-description', $mod)
+ tag 'perl-module-name-not-mentioned-in-description', $mod
if (lc($d) !~ /\Q$mod_lc\E/ and $pm_found);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: