Bug 1218763 - Antivirus should retry on SSLError. r=nthomas DONTBUILD

This commit is contained in:
Rail Aliiev 2015-10-28 20:28:07 -04:00
Родитель ec55a186c7
Коммит 59f8353819
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -132,6 +132,7 @@ class AntivirusScan(BaseScript, VirtualenvMixin):
from boto.s3.connection import S3Connection
from boto.exception import S3CopyError, S3ResponseError
from redo import retry
from httplib import HTTPException
# suppress boto debug logging, it's too verbose with --loglevel=debug
import logging
@ -156,7 +157,7 @@ class AntivirusScan(BaseScript, VirtualenvMixin):
args=(destination, ),
sleeptime=5, max_sleeptime=60,
retry_exceptions=(S3CopyError, S3ResponseError,
IOError))
IOError, HTTPException))
def find_release_files():
candidates_prefix = self._get_candidates_prefix()