forked from M-Labs/artiq
1
0
Fork 0

worker_impl: style

This commit is contained in:
Robert Jördens 2016-07-09 16:58:19 +02:00
parent cfb9fb808c
commit 9ca27e6d7f
1 changed files with 2 additions and 1 deletions

View File

@ -98,6 +98,7 @@ class Scheduler:
self.priority = priority
_check_pause = staticmethod(make_parent_action("scheduler_check_pause"))
def check_pause(self, rid=None) -> TBool:
if rid is None:
rid = self.rid
@ -140,7 +141,7 @@ def examine(device_mgr, dataset_mgr, file):
if name[-1] == ".":
name = name[:-1]
argument_mgr = TraceArgumentManager()
exp_inst = exp_class((device_mgr, dataset_mgr, argument_mgr))
exp_class((device_mgr, dataset_mgr, argument_mgr))
arginfo = OrderedDict(
(k, (proc.describe(), group))
for k, (proc, group) in argument_mgr.requested_args.items())