old_contents: # -*- coding: utf-8 -*-
  '''
  Display values only with simple data.
  =================================
  
  Example input 1::
  
      {
      'myminion': ["127.0.0.1", "10.0.0.1"],
      'second-minion': ["127.0.0.1", "10.0.0.2"]
      }
  
  Example output 1::
      127.0.0.1
      10.0.0.1
      127.0.0.1
      10.0.0.2
  
  Example input 2::
  
      {
      'myminion': 8,
      'second-minion': 10
      }
  
  Example output 2::
      8
      10
  '''
  
  
  def get_values(data):
      # This should be able to be improved
      # by parsing kargs from command line
      # instantiation.
      # But I am not sure how to do it
      # just yet.
      # This would enable us to toggle
      # this functionality.
      values = []
      for _, minion_values in data.items():
          if isinstance(minion_values, list):
              values.extend(minion_values)
          else:
              values.append(minion_values)
      return values
  
  
  def one_level_values(data):
      return '\n'.join(string_list(get_values(data)))
  
  
  def string_list(a_list):
      return [str(item) for item in a_list]
  
  
  def output(data):
      '''
      Rather basic....
      '''
      return one_level_values(data)
  
new_contents: # -*- coding: utf-8 -*-
  '''
  Display values only, separated by newlines
  ==========================================
  
  .. versionadded:: Lithium
  
  This outputter is designed for Salt CLI return data. It will do the following
  to the return dict:
  
  1. Get just the values (ignoring the minion IDs).
  2. Each value, if it is iterable, is split a separate line.
  3. Each minion's values are separated by newlines.
  
  This results in a single string of return data containing all the values from
  the various minions.
  
  .. warning::
  
      As noted above, this outputter will discard the minion ID. If the minion ID
      is important, then an outputter that returns the full return dictionary in
      a parsable format (such as :mod:`json <salt.output.json>`, :mod:`pprint,
      <salt.output.pprint>`, or :mod:`yaml <salt.output.yaml>`) may be more
      suitable.
  
  
  Example 1
  ~~~~~~~~~
  
  Input
  -----
  
  .. code-block:: python
  
      {
          'myminion': ['127.0.0.1', '10.0.0.1'],
          'second-minion': ['127.0.0.1', '10.0.0.2']
      }
  
  Output
  ------
  
  .. code-block:: python
  
      127.0.0.1
      10.0.0.1
      127.0.0.1
      10.0.0.2
  
  Example 2
  ~~~~~~~~~
  
  Input
  -----
  
  .. code-block:: python
  
      {
          'myminion': 8,
          'second-minion': 10
      }
  
  Output
  ------
  
  .. code-block:: python
  
      8
      10
  '''
  
  
  def get_values(data):
      # This should be able to be improved
      # by parsing kargs from command line
      # instantiation.
      # But I am not sure how to do it
      # just yet.
      # This would enable us to toggle
      # this functionality.
      values = []
      for _, minion_values in data.items():
          if isinstance(minion_values, list):
              values.extend(minion_values)
          else:
              values.append(minion_values)
      return values
  
  
  def one_level_values(data):
      return '\n'.join(string_list(get_values(data)))
  
  
  def string_list(a_list):
      return [str(item) for item in a_list]
  
  
  def output(data):
      '''
      Rather basic....
      '''
      return one_level_values(data)
  
subject: Fix formatting in newline_values_only docstring