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

guillem pushed a commit to branch master
in repository dpkg.

commit 046ad868331a9f1581837404449b4320e6d09c36
Author: Guillem Jover <[email protected]>
Date:   Thu Feb 12 01:34:14 2015 +0100

    Dpkg::Gettext: Use parenthesis on carp call to tell perl it is a function
    
    Because we are using 'require' instead of 'use', perl does not know that
    the symbol is a function instead of a bareword.
---
 scripts/Dpkg/Gettext.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Dpkg/Gettext.pm b/scripts/Dpkg/Gettext.pm
index beba2a6..c5bf331 100644
--- a/scripts/Dpkg/Gettext.pm
+++ b/scripts/Dpkg/Gettext.pm
@@ -101,7 +101,7 @@ sub _g ## no critic 
(Subroutines::ProhibitUnusedPrivateSubroutines)
     my $msgid = shift;
 
     require Carp;
-    Carp::carp 'obsolete _g() function, please use g_() instead';
+    Carp::carp('obsolete _g() function, please use g_() instead');
 
     return g_($msgid);
 }

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


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to