示例#1
0
    def _marshaled_dispatch(self, *args, **kwargs):
        """Check for unexpected server exceptions while handling a
                request."""
        # pylint: disable=W0221
        # Arguments differ from overridden method;

        response = SimpleRPCDispatcher._marshaled_dispatch(
            self, *args, **kwargs)
        self.__check_for_server_errors(response)
        return response
示例#2
0
文件: pipeutils.py 项目: aszeszo/test
        def _marshaled_dispatch(self, *args, **kwargs):
                """Check for unexpected server exceptions while handling a
                request."""
                # pylint: disable=W0221
                # Arguments differ from overridden method;

                response = SimpleRPCDispatcher._marshaled_dispatch(
                    self, *args, **kwargs)
                self.__check_for_server_errors(response)
                return response