[Pkg-debile-commits] [debile-slave] 18/100: style
Sylvestre Ledru
sylvestre at alioth.debian.org
Mon Aug 19 14:53:01 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 5e9eac85e8423e8c9c1fad75cdccde336ef7944d
Author: Paul Tagliamonte <tag at pault.ag>
Date: Fri May 24 23:00:48 2013 -0400
style
---
ethel/wrappers/desktop_file_validate.py | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/ethel/wrappers/desktop_file_validate.py b/ethel/wrappers/desktop_file_validate.py
index 6d7b6c8..905ea3b 100644
--- a/ethel/wrappers/desktop_file_validate.py
+++ b/ethel/wrappers/desktop_file_validate.py
@@ -2,21 +2,15 @@ from firehose.model import Issue, Message, File, Location, Point
import re
-# screensaver.desktop: error: value "AWESOME" for string
-LINE_EXPR = re.compile(
- r"(?P<path>.*): (?P<severity>.*): (?P<msg>.*)"
-)
+LINE_EXPR = re.compile(r"(?P<path>.*): (?P<severity>.*): (?P<msg>.*)")
def parse_desktop_file_validate(lines):
for line in lines:
-
info = LINE_EXPR.match(line).groupdict()
-
path = info['path']
message = info['msg']
severity = info['severity']
-
yield Issue(cwe=None,
testid=None,
location=Location(
--
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