Skip to content

Commit 5d31164

Browse files
Merge pull request #841 from feuerfrei92/issue-840-saml-attributes
Fix logging of attributes with '.' in their name
2 parents 155910d + 160273e commit 5d31164

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/saml2/response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ def _assertion(self, assertion, verified=False):
833833

834834
# if self.context == "AuthnReq" or self.context == "AttrQuery":
835835
# self.ava = self.get_identity()
836-
# logger.debug("--- AVA: %s", self.ava)
836+
# logger.debug("--- AVA: {0}".format(self.ava))
837837

838838
try:
839839
self.get_subject()
@@ -1036,7 +1036,7 @@ def parse_assertion(self, keys=None):
10361036

10371037
if self.context == "AuthnReq" or self.context == "AttrQuery":
10381038
self.ava = self.get_identity()
1039-
logger.debug("--- AVA: %s", self.ava)
1039+
logger.debug("--- AVA: {0}".format(self.ava))
10401040

10411041
return True
10421042

0 commit comments

Comments
 (0)