mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-06 14:24:08 +00:00
Backward compatibility with Python 3.4 API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
a2b85faa08
commit
32d7325446
|
@ -234,7 +234,10 @@ class SbyJob:
|
||||||
if task.running:
|
if task.running:
|
||||||
fds.append(task.p.stdout)
|
fds.append(task.p.stdout)
|
||||||
|
|
||||||
|
try:
|
||||||
select(fds, [], [], 1.0) == ([], [], [])
|
select(fds, [], [], 1.0) == ([], [], [])
|
||||||
|
except InterruptedError:
|
||||||
|
pass
|
||||||
|
|
||||||
for task in self.tasks_running:
|
for task in self.tasks_running:
|
||||||
task.poll()
|
task.poll()
|
||||||
|
|
Loading…
Reference in a new issue