def _get_action_by_name(op, name):
actions = get_actions(op)<EOL>for action in actions:<EOL><INDENT>if action.get('<STR_LIT:name>') == name:<EOL><INDENT>return action<EOL><DEDENT><DEDENT>
Return the value for the specified action.