diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -185,7 +185,7 @@ def checkfile(f, logfunc=_defaultlogger. continue for p, msg in pats: if re.search(p, l[1]): - logfunc(f, n+1, l[0], msg) + logfunc(f, n + 1, l[0], msg) fc += 1 result = False if maxerr is not None and fc >= maxerr: