aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-11 14:00:02 +0100
committerGravatar jesopo2019-10-11 14:00:02 +0100
commitdaeb37226a2fcdf2020f2e86caec8bff9f51b98f (patch)
treee0af46a8a39cf08261c12a8818ec5398147d4e3c
parentadd "poll sources" - objects that can provide additional filenos for polling (diff)
signature
LockFile doesn't need to hold on to _database_location
-rw-r--r--src/LockFile.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/LockFile.py b/src/LockFile.py
index f7681775..3436eddf 100644
--- a/src/LockFile.py
+++ b/src/LockFile.py
@@ -5,7 +5,6 @@ EXPIRATION = 60 # 1 minute
class LockFile(PollHook.PollHook):
def __init__(self, database_location: str):
- self._database_location = database_location
self._lock_location = "%s.lock" % database_location
self._next_lock = None