diff options
| author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2014-03-11 12:51:32 +0100 |
|---|---|---|
| committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2014-03-11 12:51:32 +0100 |
| commit | bfa31ef8200a94fdc843f413e83e73c5b26c1b01 (patch) | |
| tree | 6da9318e95d4778d5cab3ba305582fe5ef165cdd /src/saml2/validate.py | |
| parent | 2ff66de237ec27388d22e53f84e7cfe61f63ccdb (diff) | |
| download | pysaml2-bfa31ef8200a94fdc843f413e83e73c5b26c1b01.tar.gz | |
Fixed a recursion problem.
Minor editorial changes.
Diffstat (limited to 'src/saml2/validate.py')
| -rw-r--r-- | src/saml2/validate.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saml2/validate.py b/src/saml2/validate.py index 6fd48931..3ba2dff8 100644 --- a/src/saml2/validate.py +++ b/src/saml2/validate.py @@ -248,6 +248,8 @@ def valid_anytype(val): :return: True is value is valid otherwise an exception is raised """ for validator in VALIDATOR.values(): + if validator == valid_anytype: # To hinder recursion + continue try: if validator(val): return True |
