diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-02-06 15:32:41 +0000 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-02-07 10:26:15 +0000 |
commit | 37f3c9269e10ea5dd3644fe674501467ca1efac8 (patch) | |
tree | bb07590adab8c1edd66593eb90bc3333f4355077 /buildstream | |
parent | fc384201bb8ab6254ca9be6e1e897fb38f3be0b1 (diff) | |
download | buildstream-37f3c9269e10ea5dd3644fe674501467ca1efac8.tar.gz |
_pipeline.py: Silence some messages while interrogating source consistency
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/_pipeline.py | 7 |
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" + \ |