mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-27 23:45:50 +00:00
Decouple taskloop from task
This commit is contained in:
parent
c944a9c99c
commit
0fe8c223cf
2 changed files with 119 additions and 48 deletions
|
@ -458,13 +458,11 @@ def run_task(taskname):
|
|||
for k, v in exe_paths.items():
|
||||
task.exe_paths[k] = v
|
||||
|
||||
if throw_err:
|
||||
try:
|
||||
task.run(setupmode)
|
||||
else:
|
||||
try:
|
||||
task.run(setupmode)
|
||||
except SbyAbort:
|
||||
pass
|
||||
except SbyAbort:
|
||||
if throw_err:
|
||||
raise
|
||||
|
||||
if my_opt_tmpdir:
|
||||
task.log(f"Removing directory '{my_workdir}'.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue