summaryrefslogtreecommitdiff
path: root/src/buildstream/_frontend
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-06-19 10:57:21 +0200
committerbst-marge-bot <marge-bot@buildstream.build>2019-06-25 09:08:17 +0000
commit737aea1840253abddc3468743cedb4b706f734a5 (patch)
tree76ffe0de723ad59e00f5c864628f22a4f22916b7 /src/buildstream/_frontend
parent4c50ba274e1fbd5b15ce316621e81ad8bdcabdbf (diff)
downloadbuildstream-737aea1840253abddc3468743cedb4b706f734a5.tar.gz
Handle subproject fetching in the Stream class
Diffstat (limited to 'src/buildstream/_frontend')
-rw-r--r--src/buildstream/_frontend/app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildstream/_frontend/app.py b/src/buildstream/_frontend/app.py
index b55c743e2..68cf7ec4d 100644
--- a/src/buildstream/_frontend/app.py
+++ b/src/buildstream/_frontend/app.py
@@ -243,7 +243,8 @@ class App():
#
try:
self.project = Project(directory, self.context, cli_options=self._main_options['option'],
- default_mirror=self._main_options.get('default_mirror'))
+ default_mirror=self._main_options.get('default_mirror'),
+ fetch_subprojects=self.stream.fetch_subprojects)
self.stream.set_project(self.project)
except LoadError as e: