summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/_artifactelement.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/buildstream/_artifactelement.py b/src/buildstream/_artifactelement.py
index 94503c4df..06e48c153 100644
--- a/src/buildstream/_artifactelement.py
+++ b/src/buildstream/_artifactelement.py
@@ -125,6 +125,17 @@ class ArtifactElement(Element):
cls.__instantiated_artifacts = {}
########################################################
+ # Override internal Element methods #
+ ########################################################
+
+ # Once we've finished pulling an artifact, we assume the
+ # state of the pulled artifact.
+ #
+ def _pull_done(self):
+ super()._pull_done()
+ self._mimic_artifact()
+
+ ########################################################
# Implement Element abstract methods #
########################################################
def configure(self, node):