Don't throw 404 on disappeared adi project

This commit is contained in:
Stephan Kulow 2019-03-09 07:51:47 +01:00
parent 2fc542b5a2
commit 9eb1afc852

View File

@ -131,7 +131,14 @@ class InstallChecker(object):
# fetch the build ids at the beginning - mirroring takes a while # fetch the build ids at the beginning - mirroring takes a while
buildids = {} buildids = {}
architectures = self.target_archs(project, repository) try:
architectures = self.target_archs(project, repository)
except HTTPError as e:
if e.code == 404:
# adi disappear all the time, so don't worry
return False
raise e
all_done = True all_done = True
for arch in architectures: for arch in architectures:
pra = '{}/{}/{}'.format(project, repository, arch) pra = '{}/{}/{}'.format(project, repository, arch)