summaryrefslogtreecommitdiff
path: root/src/leap/platform_init/locks.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@yahoo.com.ar>2013-06-19 13:11:11 -0300
committerIvan Alejandro <ivanalejandro0@yahoo.com.ar>2013-06-19 13:11:11 -0300
commit77b4ddbfbe6f6697520614a925ac83e605905ca2 (patch)
tree362a16346a44ad6d94000578ab29c94ef41ea41c /src/leap/platform_init/locks.py
parent332f4fe1338b72eaa7bc2a2878ce30129004319e (diff)
Fix: clean lock files on Windows.
Closes #2931 and #2909.
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(