LPCManager.py
changeset 24 04205032298b
parent 23 41616a8c80a7
child 25 c5b5509bd224
equal deleted inserted replaced
23:41616a8c80a7 24:04205032298b
  1812             self.Buffer += self.socket.recv(2048)
  1812             self.Buffer += self.socket.recv(2048)
  1813             idx = self.Buffer.find("\n")
  1813             idx = self.Buffer.find("\n")
  1814         if idx != -1:
  1814         if idx != -1:
  1815             line = self.Buffer[:idx+1]
  1815             line = self.Buffer[:idx+1]
  1816             self.Buffer = self.Buffer[idx+1:]
  1816             self.Buffer = self.Buffer[idx+1:]
  1817             if True:#BMZ_DBG:
  1817             if BMZ_DBG:
  1818                 print "command >"+line+str(len(line))
  1818                 print "command >"+line+str(len(line))
  1819             return line
  1819             return line
  1820         return ""
  1820         return ""
  1821     
  1821     
  1822     """ Base class for file like objects to facilitate StdOut for the Shell."""
  1822     """ Base class for file like objects to facilitate StdOut for the Shell."""