Commit 0895b5e4 authored by Jérome Perrin's avatar Jérome Perrin

fixup! py2/py3: import from six.moves.

parent ee43a0f4
...@@ -3,7 +3,7 @@ Modify given URL so that the resulting one prevents further login attempts when ...@@ -3,7 +3,7 @@ Modify given URL so that the resulting one prevents further login attempts when
Useful to break redirection loops. Useful to break redirection loops.
""" """
from six.moves.urllib.parse import urlencode, urlsplit, urlunsplit from six.moves.urllib.parse import parse_qsl, urlencode, urlsplit, urlunsplit
PARAMETER_NAME = 'disable_cookie_login__' PARAMETER_NAME = 'disable_cookie_login__'
parsed_url = urlsplit(url) parsed_url = urlsplit(url)
return urlunsplit(( return urlunsplit((
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment