diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-12-10 14:49:13 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-12-10 15:11:43 +0900 |
commit | 2588ed68ec6b1c663e8f742730eb75dea895297d (patch) | |
tree | 523daeb05cf2cd5838513b4c9dbac0a7efe8a7e1 /buildstream | |
parent | b7de4d5995558f8d1b78955f286293c1976039b6 (diff) | |
download | buildstream-2588ed68ec6b1c663e8f742730eb75dea895297d.tar.gz |
pep8 fixes in _sourcefactory.py
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/_sourcefactory.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/buildstream/_sourcefactory.py b/buildstream/_sourcefactory.py index 9a450fe43..6fb5bd9c8 100644 --- a/buildstream/_sourcefactory.py +++ b/buildstream/_sourcefactory.py @@ -22,12 +22,13 @@ from . import _site from ._plugincontext import PluginContext from .source import Source + # A SourceFactory creates Source instances # in the context of a given factory # # Args: # plugin_base (PluginBase): The main PluginBase object to work with -# searchpath (list): A list of external paths to search for Source plugins +# searchpath (list): Search path for external Source plugins # class SourceFactory(PluginContext): @@ -35,7 +36,7 @@ class SourceFactory(PluginContext): if searchpath is None: searchpath = [] - + searchpath.insert(0, _site.source_plugins) super().__init__(plugin_base, Source, searchpath) |