##// END OF EJS Templates
improved error rendering for cocoa_frontend
improved error rendering for cocoa_frontend

File last commit:

r964:0a2f2117
r1304:7cbab5de
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