summaryrefslogtreecommitdiff
path: root/src/buildstream/source.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/source.py')
-rw-r--r--src/buildstream/source.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildstream/source.py b/src/buildstream/source.py
index ce1cf8434..e0a2db45d 100644
--- a/src/buildstream/source.py
+++ b/src/buildstream/source.py
@@ -322,14 +322,13 @@ class Source(Plugin):
alias_override: Optional[Tuple[str, str]] = None,
unique_id: Optional[int] = None
):
- provenance = meta.config.get_provenance()
# Set element_name member before parent init, as needed for debug messaging
self.__element_name = meta.element_name # The name of the element owning this source
super().__init__(
"{}-{}".format(meta.element_name, meta.element_index),
context,
project,
- provenance,
+ meta.config,
"source",
unique_id=unique_id,
)