Skip to content

Commit ae9d27e

Browse files
author
Roland Hedberg
committed
Switched super class to Exception.
1 parent bc670b4 commit ae9d27e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/saml2/validate.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import calendar
22
from six.moves.urllib.parse import urlparse
33
import re
4-
from saml2 import time_util, Error
54
import struct
65
import base64
76

8-
# Also defined in saml2.saml but can't import from there
7+
from saml2 import time_util
8+
99
XSI_NAMESPACE = 'http://www.w3.org/2001/XMLSchema-instance'
1010
XSI_NIL = '{%s}nil' % XSI_NAMESPACE
1111
# ---------------------------------------------------------
@@ -27,11 +27,11 @@ class ShouldValueError(ValueError):
2727
pass
2828

2929

30-
class ResponseLifetimeExceed(Error):
30+
class ResponseLifetimeExceed(Exception):
3131
pass
3232

3333

34-
class ToEarly(Error):
34+
class ToEarly(Exception):
3535
pass
3636

3737
# --------------------- validators -------------------------------------

0 commit comments

Comments
 (0)