Exemplo n.º 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
Exemplo n.º 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