Removed bulkUserLookup & getProfileImageUrl, deprecating shortenUrl, raise TwythonDepWarnings in Python 2.7 >

This commit is contained in:
Mike Helmick 2013-04-22 21:29:07 -04:00
parent d4c19fc3a9
commit a451db43c1
5 changed files with 41 additions and 48 deletions

View file

@ -13,13 +13,12 @@ try:
except ImportError:
import json
try:
from urlparse import parse_qsl
except ImportError:
from cgi import parse_qsl
if is_py2:
from urllib import urlencode, quote_plus
try:
from urlparse import parse_qsl
except ImportError:
from cgi import parse_qsl
builtin_str = str
bytes = str
@ -29,7 +28,7 @@ if is_py2:
elif is_py3:
from urllib.parse import urlencode, quote_plus
from urllib.parse import urlencode, quote_plus, parse_qsl
builtin_str = str
str = str