Skip to content

Commit ac17788

Browse files
author
Ioannis Kakavas
committed
Fix syntax
1 parent 11ad082 commit ac17788

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/saml2/client_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ def __init__(self, config=None, identity_cache=None, state_cache=None,
126126
if v is False or v == 'false':
127127
setattr(self, param, False)
128128

129-
if self.entity_type == "sp" and not any(self.want_assertions_signed,
130-
self.want_response_signed):
129+
if self.entity_type == "sp" and not any([self.want_assertions_signed,
130+
self.want_response_signed]):
131131
logger.warning("The SAML service provider accepts unsigned SAML Responses " +
132132
"and Assertions. This configuration is insecure.")
133133

0 commit comments

Comments
 (0)