def _createSOAPFault(self, err, provider_nsa, connection_id=None, service_type=None):

        log.msg(err.getErrorMessage() % 'Request error: %s. Returning error to remote client.', system=LOG_SYSTEM)

        se = helper.createServiceException(err, provider_nsa, connection_id)
        ex_element = se.xml(nsiconnection.serviceException)

        soap_fault = soapresource.SOAPFault( err.getErrorMessage(), ex_element )
        return soap_fault
dataset/ETHPy150Open NORDUnet/opennsa/opennsa/protocols/nsi2/providerservice.py/ProviderService._createSOAPFault/swapped operands of `%`