Skip to content

Commit 3252037

Browse files
author
Roland Hedberg
committed
PY3 things
1 parent b7be49d commit 3252037

File tree

3 files changed

+1019
-961
lines changed

3 files changed

+1019
-961
lines changed

src/saml2/authn.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
import logging
2-
from urllib import urlencode
3-
from urlparse import parse_qs
4-
from urlparse import urlsplit
52
import six
63
import time
74
import ldap
@@ -13,6 +10,8 @@
1310
from saml2.httputil import Unauthorized
1411
from saml2.httputil import parse_cookie
1512

13+
from six.moves.urllib.parse import urlencode, parse_qs, urlsplit
14+
1615
__author__ = 'rolandh'
1716

1817
logger = logging.getLogger(__name__)

src/saml2/client_base.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
to conclude its tasks.
77
"""
88
import threading
9-
from six.moves.urllib.parse import urlencode
10-
from six.moves.urllib.parse import urlparse
119
import six
1210

1311
from saml2.entity import Entity
@@ -26,8 +24,11 @@
2624
from saml2.soap import make_soap_enveloped_saml_thingy
2725

2826
from six.moves.urllib.parse import parse_qs
27+
from six.moves.urllib.parse import urlencode
28+
from six.moves.urllib.parse import urlparse
2929

30-
from saml2.s_utils import signature, UnravelError, exception_trace
30+
from saml2.s_utils import signature
31+
from saml2.s_utils import UnravelError
3132
from saml2.s_utils import do_attributes
3233

3334
from saml2 import samlp, BINDING_SOAP, SAMLError

0 commit comments

Comments
 (0)