add __init__ to action plugins
This commit is contained in:
parent
730b617186
commit
f8a9541405
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ except ImportError:
|
||||||
HAS_ATFORK=False
|
HAS_ATFORK=False
|
||||||
|
|
||||||
dirname = os.path.dirname(__file__)
|
dirname = os.path.dirname(__file__)
|
||||||
action_plugins = utils.import_plugins(os.path.join(dirname, 'action_plugins'))
|
action_plugin_list = utils.import_plugins(os.path.join(dirname, 'action_plugins'))
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ class Runner(object):
|
||||||
|
|
||||||
# instantiate plugin classes
|
# instantiate plugin classes
|
||||||
self.action_plugins = {}
|
self.action_plugins = {}
|
||||||
for (k,v) in action_plugins.iteritems():
|
for (k,v) in action_plugin_list.iteritems():
|
||||||
self.action_plugins[k] = v.ActionModule(self)
|
self.action_plugins[k] = v.ActionModule(self)
|
||||||
|
|
||||||
# *****************************************************
|
# *****************************************************
|
||||||
|
|
Loading…
Reference in a new issue