mirror of https://github.com/m-labs/artiq.git
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))
|
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:
|
class DummyScheduler:
|
||||||
def __init__(self, expid):
|
def __init__(self, expid):
|
||||||
self.next_rid = 0
|
self.next_rid = 0
|
||||||
|
@ -64,8 +53,6 @@ class DummyScheduler:
|
||||||
def delete(self, rid):
|
def delete(self, rid):
|
||||||
logger.info("Deleting RID %s", rid)
|
logger.info("Deleting RID %s", rid)
|
||||||
|
|
||||||
watchdog = DummyWatchdog
|
|
||||||
|
|
||||||
|
|
||||||
def get_argparser(with_file=True):
|
def get_argparser(with_file=True):
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
|
|
Loading…
Reference in New Issue