summaryrefslogtreecommitdiff
path: root/buildstream/_pipeline.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_pipeline.py')
-rw-r--r--buildstream/_pipeline.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index b516d9f44..9ce97cea3 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -234,9 +234,10 @@ class Pipeline():
#
def assert_consistent(self, toplevel):
inconsistent = []
- for element in toplevel:
- if element._consistency() == Consistency.INCONSISTENT:
- inconsistent.append(element)
+ with self.timed_activity("Checking sources"):
+ for element in toplevel:
+ if element._consistency() == Consistency.INCONSISTENT:
+ inconsistent.append(element)
if inconsistent:
detail = "Exact versions are missing for the following elements\n" + \