summaryrefslogtreecommitdiff
path: root/src/buildstream
diff options
context:
space:
mode:
authorTristan van Berkom <tristan.vanberkom@codethink.co.uk>2020-06-05 19:13:44 +0900
committerTristan van Berkom <tristan.vanberkom@codethink.co.uk>2020-06-08 23:50:34 +0900
commit55e59d2639343c45af1e50acb5204a1e001e8847 (patch)
tree1f4e9ea714921344a02b3f722080cd1a3065f527 /src/buildstream
parentba33095550377fecd26fbb4d26afe6bd2ad1535f (diff)
downloadbuildstream-55e59d2639343c45af1e50acb5204a1e001e8847.tar.gz
_pluginfactory/pluginoriginjunction.py: Call get_loader() with provenance.
This is important for reporting errors due to missing files while loading a junction.
Diffstat (limited to 'src/buildstream')
-rw-r--r--src/buildstream/_pluginfactory/pluginoriginjunction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_pluginfactory/pluginoriginjunction.py b/src/buildstream/_pluginfactory/pluginoriginjunction.py
index 7c887e4cb..8c1d560fb 100644
--- a/src/buildstream/_pluginfactory/pluginoriginjunction.py
+++ b/src/buildstream/_pluginfactory/pluginoriginjunction.py
@@ -35,7 +35,7 @@ class PluginOriginJunction(PluginOrigin):
# Get access to the project indicated by the junction,
# possibly loading it as a side effect.
#
- loader = self.project.loader.get_loader(self._junction)
+ loader = self.project.loader.get_loader(self._junction, provenance=self.provenance)
project = loader.project
project.ensure_fully_loaded()