From e0c16f9f67860eb55bbdbc786706cdacebcf255b Mon Sep 17 00:00:00 2001 From: "kbr@chromium.org" Date: Sat, 15 Jan 2011 00:11:44 +0000 Subject: [PATCH] Revert http://codereview.chromium.org/6345001/ because it apparently introduced a bug which I didn't encounter during testing. BUG=none TEST=none TBR=maruel Review URL: http://codereview.chromium.org/6340006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@71520 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/upload.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/third_party/upload.py b/third_party/upload.py index 8be7029b0..f7a2bf5d9 100755 --- a/third_party/upload.py +++ b/third_party/upload.py @@ -402,14 +402,6 @@ class AbstractRpcServer(object): response = f.read() f.close() return response - except urllib2.URLError, e: - reason = e.reason - if isinstance(reason, str) and reason.find("110") != -1: - # Connection timeout error. - if tries <= 3: - # Try again. - continue - raise except urllib2.HTTPError, e: if tries > 3: raise