fix retries count for unit tests

This commit is contained in:
Damien Elmes 2013-10-19 12:53:18 +09:00
parent 0a750005b9
commit 9b27b06b68

View File

@ -17,10 +17,12 @@ from hooks import runHook
import anki import anki
# syncing vars # syncing vars
httplib2.RETRIES = 0
HTTP_TIMEOUT = 90 HTTP_TIMEOUT = 90
HTTP_PROXY = None HTTP_PROXY = None
# badly named; means no retries, and doesn't affect ssl connections
httplib2.RETRIES = 1
try: try:
# httplib2 >=0.7.7 # httplib2 >=0.7.7
_proxy_info_from_environment = httplib2.proxy_info_from_environment _proxy_info_from_environment = httplib2.proxy_info_from_environment