def _stop(self): print "KICKING STOPS!!!" self._clearMovement(clearFootsteps = True) stop_bd = succeedBurstDeferred(self) if self._currentFinder: print "STOPPING CURRENT FINDER: %s" % self._currentFinder.name stop_bd = self._currentFinder.stop() return stop_bd
def succeed(self, data): if self.verbose: print "BurstDeferredMaker: succeeding with data=%s" % data bd = succeedBurstDeferred(data) self._bds.append(bd) return bd