diff --git a/Lib/shutil.py b/Lib/shutil.py index 3c02776a4..b938b56b3 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -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')