summaryrefslogtreecommitdiff
path: root/src/leap/platform_init/locks.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/platform_init/locks.py')
-rw-r--r--src/leap/platform_init/locks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/platform_init/locks.py b/src/leap/platform_init/locks.py
index fefc209b..c40c31d0 100644
--- a/src/leap/platform_init/locks.py
+++ b/src/leap/platform_init/locks.py
@@ -215,7 +215,7 @@ if platform_init.IS_WIN:
try:
shutil.rmtree(self.name)
return True
- except shutil.WindowsError as exc:
+ except WindowsError as exc:
if exc.errno in (errno.EPIPE, errno.ENOENT,
errno.ESRCH, errno.EACCES):
logger.warning(