diff options
author | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-06-19 13:11:11 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@yahoo.com.ar> | 2013-06-19 13:11:11 -0300 |
commit | 77b4ddbfbe6f6697520614a925ac83e605905ca2 (patch) | |
tree | 362a16346a44ad6d94000578ab29c94ef41ea41c /src/leap/platform_init/locks.py | |
parent | 332f4fe1338b72eaa7bc2a2878ce30129004319e (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.py | 2 |
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( |