Commit e0c16f9f authored by kbr@chromium.org's avatar kbr@chromium.org

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
parent 02a89f56
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment