summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIoannis Kakavas <ikakavas@noc.grnet.gr>2017-08-02 10:53:20 +0300
committerIoannis Kakavas <ikakavas@noc.grnet.gr>2017-08-02 10:53:20 +0300
commitac1778847735cfc99c5d421da015e7cdaa6df58a (patch)
treec5d63a6246022fec5c590651021649b0d729ae6a /src
parent11ad0825a063a36753b6cbbeac5a0941f2e0ca4a (diff)
downloadpysaml2-ac1778847735cfc99c5d421da015e7cdaa6df58a.tar.gz
Fix syntax
Diffstat (limited to 'src')
-rw-r--r--src/saml2/client_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saml2/client_base.py b/src/saml2/client_base.py
index fdbeadc2..5ec45425 100644
--- a/src/saml2/client_base.py
+++ b/src/saml2/client_base.py
@@ -126,8 +126,8 @@ class Base(Entity):
if v is False or v == 'false':
setattr(self, param, False)
- if self.entity_type == "sp" and not any(self.want_assertions_signed,
- self.want_response_signed):
+ if self.entity_type == "sp" and not any([self.want_assertions_signed,
+ self.want_response_signed]):
logger.warning("The SAML service provider accepts unsigned SAML Responses " +
"and Assertions. This configuration is insecure.")