##// END OF EJS Templates
check if readline is available before calling readline functions in ipy_defaults.py
check if readline is available before calling readline functions in ipy_defaults.py

File last commit:

r503:b114b8cd
r537:6e28a731
Show More
check_sources.py
14 lines | 240 B | text/x-python | PythonLexer
from 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