##// END OF EJS Templates
Fix https://bugs.launchpad.net/ipython/+bug/284660 Since we now require python 2.4, I applied a simpler version of the patch mentioned there, simply using the set() builtin everywhere.

File last commit:

r1637:3d4a1f01
r1860:a29230f8
Show More
check_sources.py
15 lines | 258 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