whitespace cleanup
This commit is contained in:
@@ -576,7 +576,7 @@ class SLO(Service):
|
|||||||
logger.error("Bad request: %s" % exc)
|
logger.error("Bad request: %s" % exc)
|
||||||
resp = BadRequest("%s" % exc)
|
resp = BadRequest("%s" % exc)
|
||||||
return resp(self.environ, self.start_response)
|
return resp(self.environ, self.start_response)
|
||||||
|
|
||||||
msg = req_info.message
|
msg = req_info.message
|
||||||
if msg.name_id:
|
if msg.name_id:
|
||||||
lid = IDP.ident.find_local_id(msg.name_id)
|
lid = IDP.ident.find_local_id(msg.name_id)
|
||||||
@@ -593,7 +593,7 @@ class SLO(Service):
|
|||||||
logger.error("ServiceError: %s" % exc)
|
logger.error("ServiceError: %s" % exc)
|
||||||
resp = ServiceError("%s" % exc)
|
resp = ServiceError("%s" % exc)
|
||||||
return resp(self.environ, self.start_response)
|
return resp(self.environ, self.start_response)
|
||||||
|
|
||||||
resp = IDP.create_logout_response(msg, [binding])
|
resp = IDP.create_logout_response(msg, [binding])
|
||||||
|
|
||||||
if binding == BINDING_SOAP:
|
if binding == BINDING_SOAP:
|
||||||
@@ -604,7 +604,7 @@ class SLO(Service):
|
|||||||
[binding], "spsso",
|
[binding], "spsso",
|
||||||
req_info)
|
req_info)
|
||||||
response = True
|
response = True
|
||||||
|
|
||||||
try:
|
try:
|
||||||
hinfo = IDP.apply_binding(binding, "%s" % resp, destination, relay_state,
|
hinfo = IDP.apply_binding(binding, "%s" % resp, destination, relay_state,
|
||||||
response=response)
|
response=response)
|
||||||
|
|||||||
@@ -1833,4 +1833,4 @@ def any_response_from_string(xmlstr):
|
|||||||
|
|
||||||
if not resp:
|
if not resp:
|
||||||
raise Exception("Unknown response type")
|
raise Exception("Unknown response type")
|
||||||
return resp
|
return resp
|
||||||
|
|||||||
Reference in New Issue
Block a user