- def waitForActivation(self, starthis):
-
- self.setActive(False)
- endhis, response = self.__waitForPrompt(starthis)
- self.setActive(True)
-
- for his in reversed(range(starthis+1,endhis)):
- if self.history[his][0:2]=="\x1a\x1a":
- tuples = string.split(self.history[his][2:], ":")
- return tuples[0], int(tuples[1])