summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2021-12-07 19:32:33 +0200
committerGitHub <noreply@github.com>2021-12-07 19:32:33 +0200
commit5d311643ba6a507681a4dfd64886736ca0e33c51 (patch)
treef11890986ed81a2ad1151820318fed574048ca09
parent155910dabffa0f60a2075be862f2cf8c31fad685 (diff)
parent160273e8360db55d959c60699461980d159f21ac (diff)
downloadpysaml2-5d311643ba6a507681a4dfd64886736ca0e33c51.tar.gz
Merge pull request #841 from feuerfrei92/issue-840-saml-attributes
Fix logging of attributes with '.' in their name
-rw-r--r--src/saml2/response.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saml2/response.py b/src/saml2/response.py
index a050d58e..432fe5de 100644
--- a/src/saml2/response.py
+++ b/src/saml2/response.py
@@ -833,7 +833,7 @@ class AuthnResponse(StatusResponse):
# if self.context == "AuthnReq" or self.context == "AttrQuery":
# self.ava = self.get_identity()
- # logger.debug("--- AVA: %s", self.ava)
+ # logger.debug("--- AVA: {0}".format(self.ava))
try:
self.get_subject()
@@ -1036,7 +1036,7 @@ class AuthnResponse(StatusResponse):
if self.context == "AuthnReq" or self.context == "AttrQuery":
self.ava = self.get_identity()
- logger.debug("--- AVA: %s", self.ava)
+ logger.debug("--- AVA: {0}".format(self.ava))
return True