Minor patch

This commit is contained in:
Miroslav Stampar
2016-11-09 12:18:15 +01:00
parent a60c9b0dcc
commit 7000373c4b
3 changed files with 7 additions and 7 deletions

View File

@@ -20,8 +20,8 @@ def check(module):
print "CHECKING ", module
pout = os.popen("pylint --rcfile=/dev/null %s" % module, 'r')
for line in pout:
if re.match("E....:.", line):
print line
if re.match("\AE:", line):
print line.strip()
if __RATING__ and "Your code has been rated at" in line:
print line
score = re.findall("\d.\d\d", line)[0]