From 14c47b037966fe8565ec5415f06541cc19609759 Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Fri, 7 Apr 2017 18:25:48 -0700 Subject: [PATCH] WindowsSymlinkOverride: small init bugfix --- dvc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/__init__.py b/dvc/__init__.py index f0de0e442..0b03c7630 100644 --- a/dvc/__init__.py +++ b/dvc/__init__.py @@ -5,7 +5,7 @@ import ctypes class WindowsSymlinkOverride(object): FUNC = None - def __index__(self): + def __init__(self): func = ctypes.windll.kernel32.CreateSymbolicLinkW func.argtypes = (ctypes.c_wchar_p, ctypes.c_wchar_p, ctypes.c_uint32) func.restype = ctypes.c_ubyte