def recordDataReceived(self, s, t, v): if genutils.get_pylab_mode() == "inline": if t not in CHANGE_EVTS: return res = BaseDoor.recordDataReceived(self, s, t, v) self.processRecordData(res) else: res = SpockBaseDoor.recordDataReceived(self, s, t, v) return res