[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/02: c/lab-tool.pm: Fix perlcritic warnings



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 079589994a7466568fe9badbb1d96740594ffaf6
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jan 31 12:55:56 2016 +0000

    c/lab-tool.pm: Fix perlcritic warnings
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/lab-tool.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/commands/lab-tool.pm b/commands/lab-tool.pm
index ab0e33b..6528cee 100644
--- a/commands/lab-tool.pm
+++ b/commands/lab-tool.pm
@@ -100,7 +100,7 @@ sub with_lab($&) {
 sub validate_lab_dir_arg {
     my ($dir) = @_;
     if (not defined($dir)) {
-        error("Missing laboratory path");
+        error('Missing laboratory path');
     }
     return $dir;
 }
@@ -174,7 +174,7 @@ sub remove_pkgs_from_lab {
     my (undef, $lab_dir, @queries) = @_;
     validate_lab_dir_arg($lab_dir);
     if (not @queries) {
-        error("Please specify a \"lab query\" to delete items from the lab");
+        error('Please specify a "lab query" to delete items from the lab');
     }
     return with_lab $lab_dir, sub {
         my ($lab) = @_;
@@ -192,7 +192,7 @@ sub remove_pkgs_from_lab {
             }
         }
         if (not $had_match) {
-            print "Nothing matched any of the queries given";
+            print "Nothing matched any of the queries given\n";
             return 1;
         }
         return 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: