Skip to content
Browse files

Merge pull request #531 from tpodowd/fix_mexe_500_retry

fix TypeError in formatting introduced on 01/26
  • Loading branch information...
2 parents 46e36bf + 83bf630 commit 5f7c37c2faf49b6afa267846adeb5455cc9156c4 @garnaat garnaat committed Jan 30, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 boto/connection.py
View
5 boto/connection.py
@@ -750,9 +750,8 @@ def _mexe(self, request, sender=None, override_num_retries=None,
boto.log.debug(msg)
continue
if response.status == 500 or response.status == 503:
- msg = 'Received %d response. '
- msg += 'Retrying in %3.1f seconds' % (response.status,
- next_sleep)
+ msg = 'Received %d response. ' % response.status
+ msg += 'Retrying in %3.1f seconds' % next_sleep
boto.log.debug(msg)
body = response.read()
elif response.status < 300 or response.status >= 400 or \

0 comments on commit 5f7c37c

Please sign in to comment.
Something went wrong with that request. Please try again.