Skip to content

Commit

Permalink
Fix Py3k test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Nov 30, 2015
1 parent 1e9a9c5 commit ef9d9c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gcloud/streaming/http_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,10 +411,10 @@ def make_api_request(http, http_request,
if retry_after is None:
retry_after = calculate_wait_for_retry(retry, max_retry_wait)

_reset_http_connections(http)
logging.debug('Retrying request to url %s after exception %s',
http_request.url, exc)
time.sleep(retry_after)
_reset_http_connections(http)
logging.debug('Retrying request to url %s after exception %s',
http_request.url, type(exc).__name__)
time.sleep(retry_after)


_HTTP_FACTORIES = []
Expand Down

0 comments on commit ef9d9c0

Please sign in to comment.