From 95e0d697fec881faa6a833289324a562383c163b Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Fri, 9 Dec 2016 22:19:35 +0900 Subject: pep8 fixes in _elementfactory.py --- buildstream/_elementfactory.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'buildstream/_elementfactory.py') diff --git a/buildstream/_elementfactory.py b/buildstream/_elementfactory.py index cd320f6c7..c0ccf2001 100644 --- a/buildstream/_elementfactory.py +++ b/buildstream/_elementfactory.py @@ -22,12 +22,13 @@ from . import _site from ._plugincontext import PluginContext from .element import Element + # A ElementFactory creates Element 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 Element plugins +# searchpath (list): Search path for external Source plugins # class ElementFactory(PluginContext): @@ -35,7 +36,7 @@ class ElementFactory(PluginContext): if searchpath is None: searchpath = [] - + searchpath.insert(0, _site.element_plugins) super().__init__(plugin_base, Element, searchpath) -- cgit v1.2.1