Import from the correct module
parent
9f37a95941
commit
73dce4b2e4
|
@ -47,7 +47,7 @@ except ImportError: # Python 2
|
||||||
import httplib as compat_html_client
|
import httplib as compat_html_client
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from urllib.parse.parse_qs import parse_qs as compat_parse_qs
|
from urllib.parse import parse_qs as compat_parse_qs
|
||||||
except ImportError: # Python 2
|
except ImportError: # Python 2
|
||||||
from urlparse import parse_qs as compat_parse_qs
|
from urlparse import parse_qs as compat_parse_qs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue