summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-02-06 15:32:41 +0000
committerJürg Billeter <j@bitron.ch>2018-02-07 10:26:15 +0000
commit37f3c9269e10ea5dd3644fe674501467ca1efac8 (patch)
treebb07590adab8c1edd66593eb90bc3333f4355077
parentfc384201bb8ab6254ca9be6e1e897fb38f3be0b1 (diff)
downloadbuildstream-37f3c9269e10ea5dd3644fe674501467ca1efac8.tar.gz
_pipeline.py: Silence some messages while interrogating source consistency
-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" + \