mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
parent
56ef6db74c
commit
95bcff9924
@ -7,7 +7,7 @@ for fname in sys.argv[1:]:
|
||||
infile = open( fname, "rb" )
|
||||
instr = infile.read()
|
||||
infile.close()
|
||||
outstr = instr.replace( "\r\n", "\n" ).replace( "\r", "\n" ).replace( "\n", "\r\n" )
|
||||
outstr = instr.replace( b"\r\n", b"\n" ).replace( b"\r", b"\n" ).replace( b"\n", b"\r\n" )
|
||||
|
||||
if len(outstr) == len(instr):
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user