def lineReceived(self, line):
        self.resetTimeout()
        try:
            request, params = line.split(None, 1)
        except ValueError:
            request = line
            params = None
        try:
            f = getattr(self, 'do_' + request)
        except AttributeError:
            self.sendCode(400, 'unknown command')
        else:
            try:
                f(params)
            except:
                self.sendCode(400, (request, sys.exc_info()[1]) % 'Command %r failed: %s.')
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/protocols/postfix.py/PostfixTCPMapServer.lineReceived/swapped operands of `%`