summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/platform_init
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-08-27 17:11:38 +0200
committerKali Kaneko <kali@leap.se>2013-08-27 17:11:38 +0200
commit721aa952da943cf3e1ffd3a2a4d1d9a92ee51312 (patch)
tree92c50eed2f2c4f843bcd9f85bf812216ba5bd5c9 /src/leap/bitmask/platform_init
parent78fbe68efd806dfedbca2019203d22113475eaed (diff)
more naming changes
Diffstat (limited to 'src/leap/bitmask/platform_init')
-rw-r--r--src/leap/bitmask/platform_init/locks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/platform_init/locks.py b/src/leap/bitmask/platform_init/locks.py
index ecfe3b1f..34f884dc 100644
--- a/src/leap/bitmask/platform_init/locks.py
+++ b/src/leap/bitmask/platform_init/locks.py
@@ -185,7 +185,7 @@ if platform_init.IS_WIN:
Creates a lock based on the atomic nature of mkdir on Windows
system calls.
"""
- LOCKBASE = os.path.join(gettempdir(), "leap-client-lock")
+ LOCKBASE = os.path.join(gettempdir(), "bitmask-lock")
def __init__(self):
"""
@@ -353,7 +353,7 @@ def we_are_the_one_and_only():
_sys = platform.system()
if _sys in ("Linux", "Darwin"):
- locker = UnixLock('/tmp/leap-client.lock')
+ locker = UnixLock('/tmp/bitmask.lock')
locker.get_lock()
we_are_the_one = locker.locked_by_us
if not we_are_the_one: