Пример #1
0
 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
Пример #2
0
 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