diff options
author | Tristan Maat <tristan.maat@codethink.co.uk> | 2017-09-12 14:10:07 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-09-14 14:36:32 -0400 |
commit | 032d0f3bbc337663576fdeee70f6a49e66f836c8 (patch) | |
tree | a0b9180d2f0c632eb845936e7dc73ec26ebc7406 /buildstream/_sourcefactory.py | |
parent | 6a326f465888fbf411682dd6c7c58cc7bc597e6b (diff) | |
download | buildstream-032d0f3bbc337663576fdeee70f6a49e66f836c8.tar.gz |
Add support for YAML default config loading
Diffstat (limited to 'buildstream/_sourcefactory.py')
-rw-r--r-- | buildstream/_sourcefactory.py | 2 |
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) |