try:
# Create a handler for this action
- handler = handlers.create_handler(action_ty)
+ action = handlers.create_action(action_ty)
# Let the handler load its configuration file
- handler.load_config(action_config)
+ action.load_config(action_config)
# Run it
- handler.run(test=opts.test)
- handler.finish(test=opts.test)
+ action.run(test=opts.test)
+ action.finish(test=opts.test)
except Exception, e:
log.error('Running action "%s.%s" failed: %s', action_name, action_ty, e)
import traceback