summaryrefslogtreecommitdiff
path: root/src/buildstream/_pluginfactory/sourcefactory.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_pluginfactory/sourcefactory.py')
-rw-r--r--src/buildstream/_pluginfactory/sourcefactory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_pluginfactory/sourcefactory.py b/src/buildstream/_pluginfactory/sourcefactory.py
index 9f6a09784..fb219aa5e 100644
--- a/src/buildstream/_pluginfactory/sourcefactory.py
+++ b/src/buildstream/_pluginfactory/sourcefactory.py
@@ -54,6 +54,6 @@ class SourceFactory(PluginFactory):
# LoadError (if the source itself took issue with the config)
#
def create(self, context, project, meta):
- source_type, _ = self.lookup(meta.kind)
+ source_type, _ = self.lookup(meta.kind, meta.provenance)
source = source_type(context, project, meta)
return source