projects
/
SymbiYosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2b85fa
)
Backward compatibility with Python 3.4 API
author
Clifford Wolf
<clifford@clifford.at>
Thu, 21 Mar 2019 19:09:44 +0000
(20:09 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 21 Mar 2019 19:09:44 +0000
(20:09 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
sbysrc/sby_core.py
patch
|
blob
|
history
diff --git
a/sbysrc/sby_core.py
b/sbysrc/sby_core.py
index 482e16862a817e1d75836aaee2a740e5dd4c1b0e..b0698d2b70d1b4b70223ce2cc0f2e4f90a56bb07 100644
(file)
--- a/
sbysrc/sby_core.py
+++ b/
sbysrc/sby_core.py
@@
-234,7
+234,10
@@
class SbyJob:
if task.running:
fds.append(task.p.stdout)
- select(fds, [], [], 1.0) == ([], [], [])
+ try:
+ select(fds, [], [], 1.0) == ([], [], [])
+ except InterruptedError:
+ pass
for task in self.tasks_running:
task.poll()