mirror of
https://github.com/lubuntu-team/ci-tooling.git
synced 2025-05-06 14:51:27 +00:00
Work around special case.
This commit is contained in:
parent
d722731db4
commit
6524ef6c62
@ -97,6 +97,13 @@ class LaunchpadCheck:
|
|||||||
print(binary.arch_tag, "successfully built.")
|
print(binary.arch_tag, "successfully built.")
|
||||||
else:
|
else:
|
||||||
raise ValueError("One or more builds have an error")
|
raise ValueError("One or more builds have an error")
|
||||||
|
|
||||||
|
# Before we verify binaries, we have to be able to read the
|
||||||
|
# records. There's a window we can encounter where the
|
||||||
|
# source is published but it has no record of any binaries,
|
||||||
|
# even before the binaries are actually processed
|
||||||
|
if len(ppa.getPublishedBinaries()) < 1:
|
||||||
|
raise IndexError
|
||||||
# Make sure all of the binaries are in a good state if they've
|
# Make sure all of the binaries are in a good state if they've
|
||||||
# passed
|
# passed
|
||||||
for binary in ppa.getPublishedBinaries():
|
for binary in ppa.getPublishedBinaries():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user