summaryrefslogtreecommitdiff
path: root/buildstream/_sourcefactory.py
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.co.uk>2017-09-12 14:10:07 +0100
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-14 14:36:32 -0400
commit032d0f3bbc337663576fdeee70f6a49e66f836c8 (patch)
treea0b9180d2f0c632eb845936e7dc73ec26ebc7406 /buildstream/_sourcefactory.py
parent6a326f465888fbf411682dd6c7c58cc7bc597e6b (diff)
downloadbuildstream-032d0f3bbc337663576fdeee70f6a49e66f836c8.tar.gz
Add support for YAML default config loading
Diffstat (limited to 'buildstream/_sourcefactory.py')
-rw-r--r--buildstream/_sourcefactory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_sourcefactory.py b/buildstream/_sourcefactory.py
index 78fb7ec5f..3461ed2ff 100644
--- a/buildstream/_sourcefactory.py
+++ b/buildstream/_sourcefactory.py
@@ -59,5 +59,5 @@ class SourceFactory(PluginContext):
# LoadError (if the source itself took issue with the config)
#
def create(self, kind, context, project, meta):
- source_type = self.lookup(kind)
+ source_type, _ = self.lookup(kind)
return source_type(context, project, meta)