summaryrefslogtreecommitdiff
path: root/src/buildstream/scriptelement.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/scriptelement.py')
-rw-r--r--src/buildstream/scriptelement.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buildstream/scriptelement.py b/src/buildstream/scriptelement.py
index 0a3a4d3dc..3b642056e 100644
--- a/src/buildstream/scriptelement.py
+++ b/src/buildstream/scriptelement.py
@@ -232,8 +232,9 @@ class ScriptElement(Element):
sorted_locations = sorted(self.__layout)
for location in sorted_locations:
- element_list = [element for element, _ in self.__layout[location]]
- self.stage_dependency_artifacts(sandbox, element_list, path=location)
+ with self.timed_activity("Staging dependencies at: {}".format(location), silent_nested=True):
+ element_list = [element for element, _ in self.__layout[location]]
+ self.stage_dependency_artifacts(sandbox, element_list, path=location)
# Now integrate any elements staged in the root
#