@errors.callback
    def _xmlrpc_failure(self, result):
        try:
            value = xmlrpclib.loads(result)
        except xmlrpclib.Fault, ex:
            raise errors.TestCritical("XMLRPC Fault %d: %s" % (
                                      ex.faultCode, ex.faultString))
        except xmlrpclib.Error, ex:
            raise errors.TestCritical((ex,) % "XMLRPC Error: %s")

        if self.conf['result'] == 'value':
            return str(value[0][0])
        else:
            return result
dataset/ETHPy150Open marineam/nagcat/python/nagcat/plugins/query_http.py/XMLRPCQuery._xmlrpc_failure/swapped operands of `%`