Show More
@@ -185,7 +185,7 b' def checkfile(f, logfunc=_defaultlogger.' | |||||
185 | continue |
|
185 | continue | |
186 | for p, msg in pats: |
|
186 | for p, msg in pats: | |
187 | if re.search(p, l[1]): |
|
187 | if re.search(p, l[1]): | |
188 | logfunc(f, n+1, l[0], msg) |
|
188 | logfunc(f, n + 1, l[0], msg) | |
189 | fc += 1 |
|
189 | fc += 1 | |
190 | result = False |
|
190 | result = False | |
191 | if maxerr is not None and fc >= maxerr: |
|
191 | if maxerr is not None and fc >= maxerr: |
General Comments 0
You need to be logged in to leave comments.
Login now