mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-23 21:27:56 +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
1 changed files with 4 additions and 1 deletions
|
@ -234,7 +234,10 @@ class SbyJob:
|
|||
if task.running:
|
||||
fds.append(task.p.stdout)
|
||||
|
||||
try:
|
||||
select(fds, [], [], 1.0) == ([], [], [])
|
||||
except InterruptedError:
|
||||
pass
|
||||
|
||||
for task in self.tasks_running:
|
||||
task.poll()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue