forked from M-Labs/artiq
gui/tools/DictSyncer: remove dead code
This commit is contained in:
parent
da917f768e
commit
f855834810
|
@ -94,8 +94,6 @@ class DictSyncer:
|
||||||
raise KeyError
|
raise KeyError
|
||||||
|
|
||||||
def __setitem__(self, key, value):
|
def __setitem__(self, key, value):
|
||||||
if hasattr(self, "data"):
|
|
||||||
data[key] = value
|
|
||||||
try:
|
try:
|
||||||
i = self._find_index(key)
|
i = self._find_index(key)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|
Loading…
Reference in New Issue