##// END OF EJS Templates
Fix bug in ultraTB introduced by sync-editor branch....
Fix bug in ultraTB introduced by sync-editor branch. Added check flag and made code more robust by only extracting the needed variables from records object.

File last commit:

r964:0a2f2117
r1544:db6107b1
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