Skip to content

Commit ae5bc40

Browse files
author
Roland Hedberg
committed
Moved log line
1 parent 51a7926 commit ae5bc40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/saml2/entity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,15 +792,15 @@ def _parse_response(self, xmlstr, response_cls, service, binding, **kwargs):
792792
if not xmlstr: # Not a valid reponse
793793
return None
794794

795-
logger.debug("XMLSTR: %s" % xmlstr)
796-
797795
try:
798796
response = response.loads(xmlstr, False)
799797
except Exception, err:
800798
if "not well-formed" in "%s" % err:
801799
logger.error("Not well-formed XML")
802800
return None
803801

802+
logger.debug("XMLSTR: %s" % xmlstr)
803+
804804
if response:
805805
response = response.verify()
806806

0 commit comments

Comments
 (0)