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

[lintian] 01/01: Run perltidy



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

broucaries-guest pushed a commit to branch master
in repository lintian.

commit 8b451b8823eaf13821a976be340a367eb0f19787
Author: bastien <roucaries.bastien+debian@gmail.com>
Date:   Wed Jun 17 19:54:59 2015 +0200

    Run perltidy
    
    Signed-off-by: bastien <roucaries.bastien+debian@gmail.com>
---
 checks/scripts.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/checks/scripts.pm b/checks/scripts.pm
index 2601d8f..89d05f1 100644
--- a/checks/scripts.pm
+++ b/checks/scripts.pm
@@ -950,7 +950,8 @@ sub run {
 
                 # For now just replace variables, they will later be normalised
                 $expand_diversions = 1 if $divert =~ s/\\\$\w+/.+/g;
-                $expand_diversions = 1 if $divert =~ s/\\\$\\[{]\w+.*?\\[}]/.+/g;
+                $expand_diversions = 1
+                  if $divert =~ s/\\\$\\[{]\w+.*?\\[}]/.+/g;
                 # handle $() the same way:
                 $expand_diversions = 1 if $divert =~ s/\\\$\\\(.+?\\\)/.+/g;
 

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


Reply to: