mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
uggh flake8
This commit is contained in:
parent
3f09fb8f8d
commit
45edaa62f2
1 changed files with 3 additions and 3 deletions
|
@ -94,9 +94,9 @@ class QueueReader:
|
|||
"""Returns whether or not the queue is fully read and the reader is
|
||||
closed.
|
||||
"""
|
||||
return self.closed and (self.thread is None or
|
||||
not self.thread.is_alive()) \
|
||||
and self.queue.empty()
|
||||
return (self.closed
|
||||
and (self.thread is None or not self.thread.is_alive())
|
||||
and self.queue.empty())
|
||||
|
||||
def read_queue(self):
|
||||
"""Reads a single chunk from the queue. This is blocking if
|
||||
|
|
Loading…
Add table
Reference in a new issue