forked from M-Labs/artiq
1
0
Fork 0

influxdb: do not crash on parameter deletion

This commit is contained in:
Sebastien Bourdeauducq 2015-08-18 13:35:05 +08:00
parent 2ac8c53bbe
commit ed00ca1485
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,9 @@ class Parameters:
if v_db is not None and self.filter_function(k): if v_db is not None and self.filter_function(k):
self.writer.update(k, v_db) self.writer.update(k, v_db)
def __delitem__(self, k):
pass
class MasterReader(TaskObject): class MasterReader(TaskObject):
def __init__(self, server, port, retry, filter_function, writer): def __init__(self, server, port, retry, filter_function, writer):