summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Wacheux <awacheux@bloomberg.net>2018-05-23 10:04:07 +0100
committerAntoine Wacheux <awacheux@bloomberg.net>2018-05-31 13:57:51 +0100
commit4708ee6bf9a7c6046157c79d227778b7b0b167ae (patch)
tree712d13f8b541f7c93e0a320eec798c5e0256efb5
parentc0de75e2d44d9187181b4501887493c0057dedb0 (diff)
downloadbuildstream-4708ee6bf9a7c6046157c79d227778b7b0b167ae.tar.gz
_artifactcache/ostreecache.py: Fix artifact cache initialization result tuple
In case of failure, the tuple contained 4 elements instead of 3, causing BuildStream to crash.
-rw-r--r--buildstream/_artifactcache/ostreecache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_artifactcache/ostreecache.py b/buildstream/_artifactcache/ostreecache.py
index c802fc2e2..9fc12f8d0 100644
--- a/buildstream/_artifactcache/ostreecache.py
+++ b/buildstream/_artifactcache/ostreecache.py
@@ -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.
#