summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dogpile/readwrite_lock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dogpile/readwrite_lock.py b/dogpile/readwrite_lock.py
index 175c481..da83215 100644
--- a/dogpile/readwrite_lock.py
+++ b/dogpile/readwrite_lock.py
@@ -114,7 +114,7 @@ class ReadWriteMutex(object):
self.condition.acquire()
try:
if self.current_sync_operation is not threading.currentThread():
- raise Exception("Synchronizer error - current thread doesn't "
+ raise LockError("Synchronizer error - current thread doesn't "
"have the write lock")
# reset the current sync operation so