mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
artiq_run: remove support for stale watchdog API
This commit is contained in:
parent
01ca6ebb1c
commit
0e92cfe053
@ -36,17 +36,6 @@ class SimpleParamLogger:
|
||||
logger.info("Parameter change: {} = {}".format(name, value))
|
||||
|
||||
|
||||
class DummyWatchdog:
|
||||
def __init__(self, t):
|
||||
pass
|
||||
|
||||
def __enter__(self):
|
||||
pass
|
||||
|
||||
def __exit__(self, type, value, traceback):
|
||||
pass
|
||||
|
||||
|
||||
class DummyScheduler:
|
||||
def __init__(self, expid):
|
||||
self.next_rid = 0
|
||||
@ -64,8 +53,6 @@ class DummyScheduler:
|
||||
def delete(self, rid):
|
||||
logger.info("Deleting RID %s", rid)
|
||||
|
||||
watchdog = DummyWatchdog
|
||||
|
||||
|
||||
def get_argparser(with_file=True):
|
||||
parser = argparse.ArgumentParser(
|
||||
|
Loading…
Reference in New Issue
Block a user