Home | History | Annotate | Download | only in devtools

Lines Matching defs:path

2 import os.path
4 def fix_source_eol( path, is_dry_run = True, verbose = True, eol = '\n' ):
6 if not os.path.isfile( path ):
7 raise ValueError( 'Path "%s" is not a file' % path )
9 f = open(path, 'rb')
19 print('%s =>' % path, end=' ')
21 f = open(path, "wb")
38 ## for path in python_sources:
39 ## _fix_python_source( path, is_dry_run )
44 ## for path in cpp_sources:
45 ## _fix_source_eol( path, is_dry_run )