3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-05 14:04:07 +00:00

Fix bug in job.terminate()

This commit is contained in:
Clifford Wolf 2017-02-06 21:41:26 +01:00
parent 01a03d0e07
commit bdb8321069

View file

@ -335,7 +335,7 @@ class SbyJob:
return self.models[model_name]
def terminate(self, timeout=False):
for task in self.tasks_running:
for task in list(self.tasks_running):
task.terminate(timeout=timeout)
def update_status(self, new_status):