##// END OF EJS Templates
Better encoding handling....
Better encoding handling. They are no more hard coded.

File last commit:

r964:0a2f2117
r1538:05e7c9bd
Show More
check_sources.py
14 lines | 257 B | text/x-python | PythonLexer
from IPython.external.path import path
fs = path('..').walkfiles('*.py')
for f in fs:
errs = ''
cont = f.bytes()
if '\t' in cont:
errs+='t'
if '\r' in cont:
errs+='r'
if errs:
print "%3s" % errs, f