Commit f5e5de69 authored by Denis Bilenko's avatar Denis Bilenko

improve readability

parent b5b15abf
......@@ -72,7 +72,7 @@ class Semaphore(object):
return True
def _do_acquire(self):
if self._waiters and self.counter>0:
if self._waiters and self.counter > 0:
waiter = self._waiters.pop()
waiter.switch()
......
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