This commit is contained in:
Kovid Goyal 2018-06-01 21:44:28 +05:30
parent e211589f9f
commit 5b31b237e3
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -30,14 +30,12 @@
if py3:
unicode = str
raw_input = input
# from urllib.parse import urlparse
import urllib.request as urllib
def encode_for_subprocess(x):
return x
else:
from future_builtins import map
# from urlparse import urlparse
import urllib2 as urllib
def encode_for_subprocess(x):