diff options
author | Ioannis Kakavas <ikakavas@noc.grnet.gr> | 2017-08-02 10:53:20 +0300 |
---|---|---|
committer | Ioannis Kakavas <ikakavas@noc.grnet.gr> | 2017-08-02 10:53:20 +0300 |
commit | ac1778847735cfc99c5d421da015e7cdaa6df58a (patch) | |
tree | c5d63a6246022fec5c590651021649b0d729ae6a /src | |
parent | 11ad0825a063a36753b6cbbeac5a0941f2e0ca4a (diff) | |
download | pysaml2-ac1778847735cfc99c5d421da015e7cdaa6df58a.tar.gz |
Fix syntax
Diffstat (limited to 'src')
-rw-r--r-- | src/saml2/client_base.py | 4 |
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.") |