Change os_details

This commit is contained in:
Aviv Palivoda committed 2019-06-10 19:18:32 +03:00
1 parent a57f38b07f
commit b0cccf35ad
1 file changed
+1 -1
+1 -1
View File
@@ -1565,7 +1565,7 @@ def _setup(_bootstrap_module):
setattr(self_module, builtin_name, builtin_module)
# Directly load the os module (needed during bootstrap).
os_details = ('posix', ['/']), ('nt', ['\\', '/'])
os_details = ('_os', ['/']), ('_os', ['\\', '/']) # Changed by palaviv to fit RustPython!!!
for builtin_os, path_separators in os_details:
# Assumption made in _path_join()
assert all(len(sep) == 1 for sep in path_separators)