From 9ca27e6d7f9820f2afec1b98bb033b79a44eede9 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sat, 9 Jul 2016 16:58:19 +0200 Subject: [PATCH] worker_impl: style --- artiq/master/worker_impl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/master/worker_impl.py b/artiq/master/worker_impl.py index ccdb11159..6c23c29fc 100644 --- a/artiq/master/worker_impl.py +++ b/artiq/master/worker_impl.py @@ -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())