(op, name)
Return the value for the specified action.
Return the value for the specified action.
Return the value for the specified action .
def get_action_by_name(op, name):
  """Return the value for the specified action."""
  actions = get_actions(op)
  for action in actions:
    if get_action_name(action) == name:
      return action
def get_action_by_name ( op , name ) : actions = get_actions ( op ) for action in actions : if get_action_name ( action ) == name : return action