def setMovieDone(self):
    avId = self.air.getAvatarIdFromSender()
    self.notify.debug(('setMovieDone busy: %s avId: %s' % (self.busy, avId)))
    if (self.busy == avId):
        taskMgr.remove(self.uniqueName('clearMovie'))
        self.sendClearMovie(None)
    elif self.busy:
        self.air.writeServerEvent('suspicious', avId, ('DistributedNPCToonAI.setMovieDone busy with %s' % self.busy))
        self.notify.warning(('somebody called setMovieDone that I was not busy with! avId: %s' % avId))
    return
def setMovieDone(self):
    avId = self.air.getAvatarIdFromSender()
    self.notify.debug(('setMovieDone busy: %s avId: %s' % (self.busy, avId)))
    if (self.busy == avId):
        taskMgr.remove(self.uniqueName('clearMovie'))
        self.sendClearMovie(None)
    elif self.busy:
        self.air.writeServerEvent('suspicious', avId, ('DistributedNPCToonAI.setMovieDone busy with %s' % self.busy))
        self.notify.warning(('somebody called setMovieDone that I was not busy with! avId: %s' % avId))
    return