##// END OF EJS Templates
Correct erroneous behaviour when doing:...
Correct erroneous behaviour when doing: IN[0]: é WARNING: ******** You or a %run:ed script called sys.stdin.close() or sys.stdout.close()! Exiting IPython!

File last commit:

r1049:c87d640e
r1113:4f9f7767
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