summaryrefslogtreecommitdiff
path: root/buildstream
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2018-02-28 11:53:33 +0000
committerJürg Billeter <j@bitron.ch>2018-03-07 09:42:49 +0100
commitdf9f696fdebfa1897a5a99dcedb81e1e7b1abd5b (patch)
treef9c0f428e79b8c1ae97580b674f0f3b9ac1163fd /buildstream
parent5a0f56af779c18eee27d1ae2d617faa4b01f1687 (diff)
downloadbuildstream-df9f696fdebfa1897a5a99dcedb81e1e7b1abd5b.tar.gz
_pipeline.py: Remove undefined variable source_index
Diffstat (limited to 'buildstream')
-rw-r--r--buildstream/_pipeline.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py
index 1c147d59e..f30f25667 100644
--- a/buildstream/_pipeline.py
+++ b/buildstream/_pipeline.py
@@ -674,7 +674,6 @@ class Pipeline():
#
# Args:
# scheduler: The app scheduler
- # source_index (int): The index of the source to reset
# track (bool): Whether to also track the source
# no_checkout (bool): Whether to check out the source (at all)
#
@@ -685,7 +684,7 @@ class Pipeline():
if workspace_dir is None:
raise PipelineError("Workspace '{}' is currently not defined"
- .format(target.name + " - " + str(source_index)))
+ .format(target.name))
self.close_workspace(True)