the parser in general now cares for carriage return/new line combinations
This commit is contained in:
1 parent
f64b309ff0
commit
fcd8b25d3d
2 files changed
+5
-6
No files matched your search
@@ -408,7 +408,6 @@ class _Importer(object):
|
||||
path += '/__init__.py'
|
||||
with open(path, 'rb') as f:
|
||||
source = f.read()
|
||||
source = source.replace(b'\n', b'\r\n')
|
||||
else:
|
||||
source = current_namespace[0].read()
|
||||
current_namespace[0].close()
|
||||
|
||||
Reference in new issue
Block a user