SF 1676321: empty() returned wrong result
This commit is contained in:
parent
9caadf80a1
commit
8b188e6a49
|
@ -72,7 +72,7 @@ class scheduler:
|
||||||
|
|
||||||
def empty(self):
|
def empty(self):
|
||||||
"""Check whether the queue is empty."""
|
"""Check whether the queue is empty."""
|
||||||
return not not self.queue
|
return not self.queue
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
"""Execute events until the queue is empty.
|
"""Execute events until the queue is empty.
|
||||||
|
|
Loading…
Reference in New Issue