mirror of https://github.com/m-labs/artiq.git
worker_impl: style
This commit is contained in:
parent
cfb9fb808c
commit
9ca27e6d7f
|
@ -98,6 +98,7 @@ class Scheduler:
|
||||||
self.priority = priority
|
self.priority = priority
|
||||||
|
|
||||||
_check_pause = staticmethod(make_parent_action("scheduler_check_pause"))
|
_check_pause = staticmethod(make_parent_action("scheduler_check_pause"))
|
||||||
|
|
||||||
def check_pause(self, rid=None) -> TBool:
|
def check_pause(self, rid=None) -> TBool:
|
||||||
if rid is None:
|
if rid is None:
|
||||||
rid = self.rid
|
rid = self.rid
|
||||||
|
@ -140,7 +141,7 @@ def examine(device_mgr, dataset_mgr, file):
|
||||||
if name[-1] == ".":
|
if name[-1] == ".":
|
||||||
name = name[:-1]
|
name = name[:-1]
|
||||||
argument_mgr = TraceArgumentManager()
|
argument_mgr = TraceArgumentManager()
|
||||||
exp_inst = exp_class((device_mgr, dataset_mgr, argument_mgr))
|
exp_class((device_mgr, dataset_mgr, argument_mgr))
|
||||||
arginfo = OrderedDict(
|
arginfo = OrderedDict(
|
||||||
(k, (proc.describe(), group))
|
(k, (proc.describe(), group))
|
||||||
for k, (proc, group) in argument_mgr.requested_args.items())
|
for k, (proc, group) in argument_mgr.requested_args.items())
|
||||||
|
|
Loading…
Reference in New Issue