def pump_rxdata(self):
        while self.rbuffer.find('\n') != -1:
            if self.cb_busy:
                return
            cmd, self.rbuffer = self.rbuffer.split('\n', 1)
            cmd = cmd.strip()
            if len(cmd) > 0:
                try:
                    self.cb_busy = self.command_cb(self, cmd)
                except:
                    print 'Cli_session: unhandled exception when processing incoming data'
                    print '-' * 70
                    traceback.print_exc(file = sys.stdout)
                    print '-' * 70
dataset/ETHPy150Open hgascon/pulsar/pulsar/core/sippy/Cli_session.py/Cli_session.pump_rxdata/original