mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
hdfs output files: fix import error when using hdfs output files on windows
When output files are located on hdfs an import error has been raised. Fixes #1215
This commit is contained in:
+2
-2
@@ -112,8 +112,8 @@ class System(object):
|
||||
@staticmethod
|
||||
def getdirinfo(path):
|
||||
import ctypes
|
||||
from ctypes import c_void_p, c_wchar_p, Structure, WinError
|
||||
from ctypes.wintypes import DWORD, HANDLE, POINTER, BOOL
|
||||
from ctypes import c_void_p, c_wchar_p, Structure, WinError, POINTER
|
||||
from ctypes.wintypes import DWORD, HANDLE, BOOL
|
||||
|
||||
FILE_FLAG_BACKUP_SEMANTICS = 0x02000000
|
||||
FILE_SHARE_READ = 0x00000001
|
||||
|
||||
Reference in New Issue
Block a user