summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-26 17:18:17 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-26 17:18:17 +0900
commit640e7e57842ca4c2ec3a8641258f54ff7c42d3c0 (patch)
tree350f32ed676624a504bdffe737edb868ce598033
parentb14a0c575991f3b75aa15b21b2652186b62d0a09 (diff)
downloadbuildstream-640e7e57842ca4c2ec3a8641258f54ff7c42d3c0.tar.gz
_pipeline.py: Improve error message when --except fails.
This is an interim step for issue #131.
-rw-r--r--buildstream/_pipeline.py2
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))