Add comment

This commit is contained in:
twangboy 2018-05-16 12:26:50 -06:00
parent 9f369d3f22
commit 6d877bb48b
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -2607,6 +2607,7 @@ def blockreplace(path,
write_line_to_new_file = True
if linesep is None:
# Auto-detect line separator
if line.endswith('\r\n'):
linesep = '\r\n'
elif line.endswith('\n'):