summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/_pluginfactory/pluginorigin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildstream/_pluginfactory/pluginorigin.py b/src/buildstream/_pluginfactory/pluginorigin.py
index 14d7a76bf..e865006ac 100644
--- a/src/buildstream/_pluginfactory/pluginorigin.py
+++ b/src/buildstream/_pluginfactory/pluginorigin.py
@@ -58,6 +58,7 @@ class PluginOrigin:
self.origin_type = origin_type # The PluginOriginType
self.elements = {} # A dictionary of PluginConfiguration
self.sources = {} # A dictionary of PluginConfiguration objects
+ self.provenance = None
# Private
self._project = None
@@ -85,6 +86,7 @@ class PluginOrigin:
elif origin_type == PluginOriginType.PIP:
origin = PluginOriginPip()
+ origin.provenance = origin_node.get_provenance()
origin._project = project
origin._load(origin_node)