From f855834810510d37eff5dfcd3cea09d7c98e67f4 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 26 Feb 2015 22:10:53 -0700 Subject: [PATCH] gui/tools/DictSyncer: remove dead code --- artiq/gui/tools.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/artiq/gui/tools.py b/artiq/gui/tools.py index 0e6d96b02..4adc1be39 100644 --- a/artiq/gui/tools.py +++ b/artiq/gui/tools.py @@ -94,8 +94,6 @@ class DictSyncer: raise KeyError def __setitem__(self, key, value): - if hasattr(self, "data"): - data[key] = value try: i = self._find_index(key) except KeyError: