Don't throw 404 on disappeared adi project
This commit is contained in:
parent
2fc542b5a2
commit
9eb1afc852
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user