forked from M-Labs/artiq
1
0
Fork 0

style (NFC)

This commit is contained in:
Sébastien Bourdeauducq 2024-02-28 12:48:31 +08:00
parent 18f55bb196
commit 692572a3b9
1 changed files with 1 additions and 2 deletions

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