mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
parent
bd40f2a851
commit
8997270a77
@ -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