Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (30 sloc) 0.985 kb
if __name__ == '__main__':
import os
for root, dirs, files in os.walk(os.curdir):
for file in files:
file = file.lower()
#import pdb;pdb.set_trace()
if os.path.splitext(file)[1] in (
# '.launch',
path = os.path.join(root, file)
contents = open(path, 'rb').read()
if '\r' in contents:
print path
contents = contents.replace('\r\n', '\n').replace('\r','\n')
open(path, 'wb').write(contents)
Jump to Line
Something went wrong with that request. Please try again.