summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2018-06-22 17:01:58 +0100
committerJonathan Maw <jonathan.maw@codethink.co.uk>2018-06-25 17:04:41 +0100
commit6bb1bb211620d87642c84cc689a801d105a25a09 (patch)
treed12da2ab73910508c5212f37d444b921ce2f7d30
parent8c65bf67a6d55cfef17971d26ed7ee6d15dbbff3 (diff)
downloadbuildstream-6bb1bb211620d87642c84cc689a801d105a25a09.tar.gz
loader.py: Fix use of wrong fetch method
-rw-r--r--buildstream/_loader/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_loader/loader.py b/buildstream/_loader/loader.py
index 9e4406bc6..0ae55ca5d 100644
--- a/buildstream/_loader/loader.py
+++ b/buildstream/_loader/loader.py
@@ -504,7 +504,7 @@ class Loader():
if self._fetch_subprojects:
if ticker:
ticker(filename, 'Fetching subproject from {} source'.format(source.get_kind()))
- source.fetch()
+ source._fetch()
else:
detail = "Try fetching the project with `bst fetch {}`".format(filename)
raise LoadError(LoadErrorReason.SUBPROJECT_FETCH_NEEDED,