Skip to content

Commit

Permalink
Changes default to IO newline default value.
Browse files Browse the repository at this point in the history
OS default is used when None is passed to `newline` in io.open()
  • Loading branch information
Alan Featherston Lago committed Apr 11, 2019
1 parent bbe84c2 commit ca42b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion massedit.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __init__(self, **kwds):
self._executables = []
self.dry_run = None
self.encoding = 'utf-8'
self.newline = '\n'
self.newline = None
if 'module' in kwds:
self.import_module(kwds['module'])
if 'code' in kwds:
Expand Down

0 comments on commit ca42b16

Please sign in to comment.