def build(self):
        if len(self.responses) == 1:
            return self.responses[0].build()
        else:
            results = []
            for response in self.responses:
                if response.has_errors():
                    results.append(response.build(
                        managed=True,
                        skip_features=True
                    ))
                else:
                    results.append(response.build(
                        managed=True
                    ))

            # TODO FIXME XXX: only JSON is supported
            result = u','.join(map(lambda x: x['result'], results)) % u'[%s]'

            return Response._build_response_obj(
                sapi_request=self.sapi_request,
                response={
                    'result': result,
                    'mimetype': results[0]['mimetype']
                }
            )
dataset/ETHPy150Open flosch/simpleapi/simpleapi/server/response.py/ResponseMerger.build/swapped operands of `%`