Revert fix for bug 1421561, it is fixed elsewhere.

This commit is contained in:
Tomas Groth 2015-02-16 22:03:59 +00:00
parent 06355032a2
commit f01aa970a7
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ class FirstTimeForm(QtGui.QWizard, UiFirstTimeWizard, RegistryProperties):
site = urllib.request.urlopen(url, timeout=CONNECTION_TIMEOUT)
meta = site.info()
return int(meta.get("Content-Length"))
except ConnectionError:
except ConnectionException:
if retries > CONNECTION_RETRIES:
raise
else: