##// END OF EJS Templates
added 'shell_hook' for hooking own 'system()' implementations
added 'shell_hook' for hooking own 'system()' implementations

File last commit:

r503:b114b8cd
r944:d3a47b33
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