def _writeFault(self, fail, request):
        """
        fail -- failure
        request -- request message
        ex -- Exception 
        """
        response = fault.FaultFromException(fail.value, False, fail.tb).AsSOAP() 
        self._writeResponse(response, request, status=500)
def _writeFault ( self , fail , request ) : response = fault . FaultFromException ( fail . value , False , fail . tb ) . AsSOAP ( ) self . _writeResponse ( response , request , status = 500 )
fail -- failure
        request -- request message
        ex -- Exception