Major bug fix (reported by Thierry Zoller)

This commit is contained in:
Bernardo Damele
2010-05-06 10:52:40 +00:00
parent 4928c684b3
commit 147e14356d
2 changed files with 5 additions and 2 deletions

View File

@@ -146,8 +146,6 @@ class Connect:
conf.redirectHandled = True
return Connect.__getPageProxy(**kwargs)
# Reset the number of connection retries
conf.retriesCount = 0
@@ -207,7 +205,9 @@ class Connect:
warnMsg = "connection timed out while trying "
warnMsg += "to get error page information (%d)" % e.code
logger.warn(warnMsg)
return None, None
code = e.code
status = e.msg