add __init__ to action plugins

This commit is contained in:
Michael DeHaan 2012-09-25 08:24:35 -04:00
parent 730b617186
commit f8a9541405

View file

@ -44,7 +44,7 @@ except ImportError:
HAS_ATFORK=False
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
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)
# *****************************************************