mirror of https://github.com/m-labs/artiq.git
style (NFC)
This commit is contained in:
parent
18f55bb196
commit
692572a3b9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue