summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/_artifact.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildstream/_artifact.py b/src/buildstream/_artifact.py
index 048f09cc6..f6af294a4 100644
--- a/src/buildstream/_artifact.py
+++ b/src/buildstream/_artifact.py
@@ -462,6 +462,7 @@ class Artifact:
#
def set_cached(self):
self._proto = self._load_proto()
+ assert self._proto
self._cached = True
# load_proto()