misc_checks.py: Fix exit status for spellcheck.

This commit is contained in:
Florian Bruhin 2015-04-05 19:37:56 +02:00
parent 8bbff689b4
commit 143228d593

View File

@ -90,6 +90,7 @@ def check_spelling(target):
if re.search(w, line) and fn not in seen[w]:
print("Found '{}' in {}!".format(w, fn))
seen[w].append(fn)
ok = False
print()
return ok
except Exception: