whitespace cleanup

This commit is contained in:
Erick Tryzelaar
2014-11-04 19:06:44 -08:00
parent 05f4de59e0
commit 0b73fb4331
2 changed files with 4 additions and 4 deletions

View File

@@ -576,7 +576,7 @@ class SLO(Service):
logger.error("Bad request: %s" % exc)
resp = BadRequest("%s" % exc)
return resp(self.environ, self.start_response)
msg = req_info.message
if msg.name_id:
lid = IDP.ident.find_local_id(msg.name_id)
@@ -593,7 +593,7 @@ class SLO(Service):
logger.error("ServiceError: %s" % exc)
resp = ServiceError("%s" % exc)
return resp(self.environ, self.start_response)
resp = IDP.create_logout_response(msg, [binding])
if binding == BINDING_SOAP:
@@ -604,7 +604,7 @@ class SLO(Service):
[binding], "spsso",
req_info)
response = True
try:
hinfo = IDP.apply_binding(binding, "%s" % resp, destination, relay_state,
response=response)

View File

@@ -1833,4 +1833,4 @@ def any_response_from_string(xmlstr):
if not resp:
raise Exception("Unknown response type")
return resp
return resp