Commit 4708ee6b authored by Antoine Wacheux's avatar Antoine Wacheux

_artifactcache/ Fix artifact cache initialization result tuple

In case of failure, the tuple contained 4 elements instead of 3, causing
BuildStream to crash.
parent c0de75e2
Pipeline #23160217 passed with stages
in 33 minutes and 12 seconds
......@@ -227,7 +227,7 @@ class OSTreeCache(ArtifactCache):
except Exception as e: # pylint: disable=broad-except
# Whatever happens, we need to return it to the calling process
q.put((str(e), None, None, None))
q.put((str(e), None, None))
# Kick off all the initialization jobs one by one.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment