summaryrefslogtreecommitdiff
path: root/buildstream/_frontend/widget.py
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2018-07-18 12:29:40 +0200
committerValentin David <valentin.david@codethink.co.uk>2018-08-02 16:18:10 +0200
commit171e803f5dab2644c7bcd2e22acecef64880e1ce (patch)
treea8e2ca4f2a7e2bebde42cb6ec2ba5f6ce32e26a6 /buildstream/_frontend/widget.py
parent19cd954bf9e22cbd6b7adacc9d87a693811830dc (diff)
downloadbuildstream-171e803f5dab2644c7bcd2e22acecef64880e1ce.tar.gz
Add support for include '(@)' in project.conf and .bst files
Fixes #331.
Diffstat (limited to 'buildstream/_frontend/widget.py')
-rw-r--r--buildstream/_frontend/widget.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/buildstream/_frontend/widget.py b/buildstream/_frontend/widget.py
index 9e8534f7a..3abc31d40 100644
--- a/buildstream/_frontend/widget.py
+++ b/buildstream/_frontend/widget.py
@@ -483,8 +483,11 @@ class LogLine(Widget):
text += '\n'
# Plugins
- text += self._format_plugins(project._element_factory.loaded_dependencies,
- project._source_factory.loaded_dependencies)
+ text += self._format_plugins(project.first_pass_config.element_factory.loaded_dependencies,
+ project.first_pass_config.source_factory.loaded_dependencies)
+ if project.config.element_factory and project.config.source_factory:
+ text += self._format_plugins(project.config.element_factory.loaded_dependencies,
+ project.config.source_factory.loaded_dependencies)
# Pipeline state
text += self.content_profile.fmt("Pipeline\n", bold=True)