Commit 15e4874e authored by Denis Bilenko's avatar Denis Bilenko

coros: pep8

parent 41d4fdf0
......@@ -172,7 +172,7 @@ class BoundedSemaphore(Semaphore):
def release(self):
if self.counter >= self._initial_value:
raise ValueError, "Semaphore released too many times"
raise ValueError("Semaphore released too many times")
return Semaphore.release(self)
......
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