[Pkg-debile-commits] [debile-slave] 68/100: but just in case

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:11 UTC 2013


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

sylvestre pushed a commit to branch master
in repository debile-slave.

commit c345268e95287d81b03c709b10af5238588c7028
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Mon Jun 10 20:33:39 2013 -0400

    but just in case
---
 ethel/wrappers/perlcritic.py |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ethel/wrappers/perlcritic.py b/ethel/wrappers/perlcritic.py
index e4cbcd3..70249d3 100644
--- a/ethel/wrappers/perlcritic.py
+++ b/ethel/wrappers/perlcritic.py
@@ -13,7 +13,10 @@ LINE_EXPR = re.compile(
 
 def parse_perlcritic(lines):
     for line in lines:
-        info = LINE_EXPR.match(line).groupdict()
+        info = LINE_EXPR.match(line)
+        if info is None:
+            continue
+        info = info.groupdict()
 
         yield Issue(cwe=None,
                     testid=info['testid'],

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



More information about the Pkg-debile-commits mailing list