Chromium Code Reviews| Index: rietveld.py |
| diff --git a/rietveld.py b/rietveld.py |
| index 9dfe8892b610dfca7c1707c47605e1f841da15e8..aab8e501491f33cec7666704ea92ef469a10a935 100644 |
| --- a/rietveld.py |
| +++ b/rietveld.py |
| @@ -409,7 +409,7 @@ class Rietveld(object): |
| except ssl.SSLError, e: |
| if retry >= (maxtries - 1): |
| raise |
| - if not 'timed out' in e.reason: |
| + if not 'timed out' in str(e): |
| raise |
| # If reaching this line, loop again. Uses a small backoff. |
| time.sleep(1+maxtries*2) |