Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 2e954b2

Browse files
bbolliboogheta
authored andcommitted
Add missing parameter to _handle_response_with_retry()
bf33714 ("url lib support no auth for https", 2019-05-13) added a new argument in the call to _handle_response_with_retry() without also adding the corresponding new parameter to the called method.
1 parent b811eeb commit 2e954b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

twitter/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,11 @@ def _handle_response(self, req, uri, arg_data, _timeout=None, verify_context=Tru
400400
else:
401401
raise TwitterHTTPError(e, uri, self.format, arg_data)
402402

403-
def _handle_response_with_retry(self, req, uri, arg_data, _timeout=None):
403+
def _handle_response_with_retry(self, req, uri, arg_data, _timeout=None, verify_context=True):
404404
retry = self.retry
405405
while retry:
406406
try:
407-
return self._handle_response(req, uri, arg_data, _timeout, self.verify_context)
407+
return self._handle_response(req, uri, arg_data, _timeout, verify_context)
408408
except TwitterHTTPError as e:
409409
if e.e.code == 429:
410410
# API rate limit reached

0 commit comments

Comments
 (0)