Commit 3056db5f authored by Jason Madden's avatar Jason Madden Committed by GitHub

Merge pull request #1193 from ralt/patch-1

lock: fix typo [skip ci]
parents ab5272c5 47fdda3f
...@@ -234,7 +234,7 @@ class RLock(object): ...@@ -234,7 +234,7 @@ class RLock(object):
def release(self): def release(self):
if self._owner is not getcurrent(): if self._owner is not getcurrent():
raise RuntimeError("cannot release un-aquired lock") raise RuntimeError("cannot release un-acquired lock")
self._count = count = self._count - 1 self._count = count = self._count - 1
if not count: if not count:
self._owner = None self._owner = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment