Fix nt import in shutil

This commit is contained in:
coolreader18 committed 2019-11-23 11:20:42 -06:00
1 parent 458c68263d
commit 794e2adacf
1 file changed
+3 -1
+3 -1
View File
@@ -1015,7 +1015,9 @@ if hasattr(os, 'statvfs'):
elif os.name == 'nt':
import nt
# XXX RustPython TODO: figure out what to do with posix vs nt vs os
# import nt
import os as nt
__all__.append('disk_usage')
_ntuple_diskusage = collections.namedtuple('usage', 'total used free')