summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/platform_init/locks.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-02-07 16:07:26 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-02-07 16:07:26 -0300
commit61420592e80d5446f8a5fba317316beeaff287e2 (patch)
treef6a5b5ac56fae020cb92b11a342481e17f542744 /src/leap/bitmask/platform_init/locks.py
parentaf3c95620fb6d647505f52e04f7fca22dc48c4d6 (diff)
Pep8 fixes, remove commented ipdb, group imports.
Diffstat (limited to 'src/leap/bitmask/platform_init/locks.py')
-rw-r--r--src/leap/bitmask/platform_init/locks.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/leap/bitmask/platform_init/locks.py b/src/leap/bitmask/platform_init/locks.py
index 34f884dc..78ebf4cd 100644
--- a/src/leap/bitmask/platform_init/locks.py
+++ b/src/leap/bitmask/platform_init/locks.py
@@ -83,8 +83,6 @@ if platform_init.IS_UNIX:
flock(self._fd, LOCK_EX | LOCK_NB)
except IOError as exc:
# could not get the lock
- #import ipdb; ipdb.set_trace()
-
if exc.args[0] in (errno.EDEADLK, errno.EAGAIN):
# errno 11 or 35
# Resource temporarily unavailable