Commit dd05ac6a authored by Denis Bilenko's avatar Denis Bilenko

fix typo in BoundedSemaphore.release method

parent 8c2988d2
......@@ -169,7 +169,7 @@ class BoundedSemaphore(Semaphore):
def release(self):
if self.counter >= self._initial_value:
raise ValueError, "Semaphore released too many times"
return _Semaphore.release(self)
return Semaphore.release(self)
class RLock(object):
......
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