Commit 47fdda3f authored by Florian Margaine's avatar Florian Margaine Committed by GitHub

lock: fix typo

It just bothers me so much whenever I hit it, sorry
parent ab5272c5
...@@ -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