File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 2626import time
2727import base64
2828import re
29- import datetime
30- from calendar import timegm
3129import requests
3230from requests_oauthlib import OAuth1
3331import io
3432import warnings
3533from uuid import uuid4
3634
37- from past .utils import old_div
38-
3935try :
4036 # python 3
4137 from urllib .parse import urlparse , urlunparse , urlencode
@@ -142,7 +138,7 @@ def __init__(self,
142138 base_url = None ,
143139 stream_url = None ,
144140 upload_url = None ,
145- chunk_size = 1024 * 1024 ,
141+ chunk_size = 1024 * 1024 ,
146142 use_gzip_compression = False ,
147143 debugHTTP = False ,
148144 timeout = None ,
Original file line number Diff line number Diff line change 33try :
44 from urllib .parse import urlparse
55except ImportError :
6- from urlparse import urlparse , urlunparse
6+ from urlparse import urlparse
77
88from twitter .twitter_utils import enf_type
99
You can’t perform that action at this time.
0 commit comments