- starthis = self.getHistoryLen()
- self.feed_child("list\n")
- endhis, response = self.waitForPrompt(starthis)
-
- text = string.join(self.history[starthis:endhis], "\n")
- return text
+ answ = self.__getAnswerFromCmd("list\n")
+ return string.join(answ, "\n")