We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc670b4 commit ae9d27eCopy full SHA for ae9d27e
src/saml2/validate.py
@@ -1,11 +1,11 @@
1
import calendar
2
from six.moves.urllib.parse import urlparse
3
import re
4
-from saml2 import time_util, Error
5
import struct
6
import base64
7
8
-# Also defined in saml2.saml but can't import from there
+from saml2 import time_util
+
9
XSI_NAMESPACE = 'http://www.w3.org/2001/XMLSchema-instance'
10
XSI_NIL = '{%s}nil' % XSI_NAMESPACE
11
# ---------------------------------------------------------
@@ -27,11 +27,11 @@ class ShouldValueError(ValueError):
27
pass
28
29
30
-class ResponseLifetimeExceed(Error):
+class ResponseLifetimeExceed(Exception):
31
32
33
34
-class ToEarly(Error):
+class ToEarly(Exception):
35
36
37
# --------------------- validators -------------------------------------
0 commit comments