2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

style (NFC)

This commit is contained in:
Sébastien Bourdeauducq 2024-02-28 12:48:31 +08:00
parent 18f55bb196
commit 692572a3b9

View File

@ -510,8 +510,7 @@ class Scheduler:
"""Returns ``True`` if termination is requested."""
for pipeline in self._pipelines.values():
if rid in pipeline.pool.runs:
run = pipeline.pool.runs[rid]
run = pipeline.pool.runs[rid]
if run.termination_requested:
return True
return False