diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-26 17:18:17 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-10-26 17:18:17 +0900 |
commit | 640e7e57842ca4c2ec3a8641258f54ff7c42d3c0 (patch) | |
tree | 350f32ed676624a504bdffe737edb868ce598033 | |
parent | b14a0c575991f3b75aa15b21b2652186b62d0a09 (diff) | |
download | buildstream-640e7e57842ca4c2ec3a8641258f54ff7c42d3c0.tar.gz |
_pipeline.py: Improve error message when --except fails.
This is an interim step for issue #131.
-rw-r--r-- | buildstream/_pipeline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py index 275b2df7a..0c4283c72 100644 --- a/buildstream/_pipeline.py +++ b/buildstream/_pipeline.py @@ -739,7 +739,7 @@ class Pipeline(): for element_name in removed: element = search_tree(element_name) if element is None: - raise PipelineError("No element named {}".format(element_name)) + raise PipelineError("No element named {} in the loaded pipeline".format(element_name)) to_remove.update(element.dependencies(Scope.ALL)) |