forked from M-Labs/artiq
style (NFC)
This commit is contained in:
parent
18f55bb196
commit
692572a3b9
|
@ -510,8 +510,7 @@ class Scheduler:
|
||||||
"""Returns ``True`` if termination is requested."""
|
"""Returns ``True`` if termination is requested."""
|
||||||
for pipeline in self._pipelines.values():
|
for pipeline in self._pipelines.values():
|
||||||
if rid in pipeline.pool.runs:
|
if rid in pipeline.pool.runs:
|
||||||
run = pipeline.pool.runs[rid]
|
run = pipeline.pool.runs[rid]
|
||||||
if run.termination_requested:
|
if run.termination_requested:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue