From f56c93bd175522931d6637cb763c0d68c07aabf5 Mon Sep 17 00:00:00 2001 From: "sergiyb@chromium.org" Date: Wed, 25 Nov 2015 17:04:44 +0000 Subject: [PATCH] Retry more errors when talking to Rietveld R=tandrii@chromium.org BUG=560785 Review URL: https://codereview.chromium.org/1475063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297701 0039d316-1c4b-4281-b951-d872f2087c98 --- rietveld.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rietveld.py b/rietveld.py index 57d7fd624..59d8b4834 100644 --- a/rietveld.py +++ b/rietveld.py @@ -433,6 +433,8 @@ class Rietveld(object): raise if (not 'Name or service not known' in e.reason and not 'EOF occurred in violation of protocol' in e.reason and + not 'Connection timed out' in e.reason and + not 'The handshake operation timed out' in e.reason and # On windows we hit weird bug http://crbug.com/537417 # with message '[Errno 10060] A connection attempt failed...' not (sys.platform.startswith('win') and