old_contents: """
  Braubuddy utility functions.
  """
  
  
  def abbreviate_temp_units(units):
      """
      Abbreviate temperature full name to single letter.
  
      :param units: Temperature units to abbreviate.
      :type units: :class:`string`
      """
      conversion_map = {
          'celsius':      'C',
          'Celsius':      'C',
          'Farenheit':    'F',
          'farenheit':    'F',
      }
      if units not in conversion_map.keys():
          raise KeyError('Unable to abbreviate {0}. Unknown unit.'.format(units))
      return conversion_map[units]
  
  
  def convert_temp_units(temperature, units_from='celsius', units_to='fahrenheit'):
      """
      Convert units of a given temperature value.
  
      :param temperature: Temperature value to convert.
      :type temperature: :class:`float`
      :param units_from: Temperature units to convert from.
      :type units_from: :class:`string`
      :param units_to: Temperature units to convert to.
      :type units_to: :class:`string`
      :returns: Converted temperature value.
      :rtype: :class:`float`
      """
      conversion_map = {
          'celsius':      {
              'fahrenheit':   lambda t: (9.0 / 5.0 * t) + 32,
              'celsius':      lambda t: t
          },   
          'fahrenheit':   {
              'celsius':      lambda t: (t - 32) * (5.0 / 9.0),
              'fahrenheit':   lambda t: t
          }
      }
      # Use lowercase units names to catch more input values
      units_from = units_from.lower()
      units_to = units_to.lower()
      if units_from not in conversion_map.keys():
          raise KeyError(
              'Unable to convert from {0!r} to {1!r}'.format(
                  units_from, units_to))
      conversion_sub_map = conversion_map[units_from]
      if units_to not in conversion_sub_map.keys():
          raise KeyError(
              'Unable to convert from {0!r} to {1!r}'.format(
                  units_from, units_to))
      return conversion_sub_map[units_to](temperature)
  
new_contents: """
  Braubuddy utility functions.
  """
  
  
  def abbreviate_temp_units(units):
      """
      Abbreviate temperature full name to single letter.
  
      :param units: Temperature units to abbreviate.
      :type units: :class:`string`
      """
      conversion_map = {
          'celsius':      'C',
          'Celsius':      'C',
          'Fahrenheit':   'F',
          'fahrenheit':   'F',
      }
      if units not in conversion_map.keys():
          raise KeyError('Unable to abbreviate {0}. Unknown unit.'.format(units))
      return conversion_map[units]
  
  
  def convert_temp_units(temperature, units_from='celsius', units_to='fahrenheit'):
      """
      Convert units of a given temperature value.
  
      :param temperature: Temperature value to convert.
      :type temperature: :class:`float`
      :param units_from: Temperature units to convert from.
      :type units_from: :class:`string`
      :param units_to: Temperature units to convert to.
      :type units_to: :class:`string`
      :returns: Converted temperature value.
      :rtype: :class:`float`
      """
      conversion_map = {
          'celsius':      {
              'fahrenheit':   lambda t: (9.0 / 5.0 * t) + 32,
              'celsius':      lambda t: t
          },   
          'fahrenheit':   {
              'celsius':      lambda t: (t - 32) * (5.0 / 9.0),
              'fahrenheit':   lambda t: t
          }
      }
      # Use lowercase units names to catch more input values
      units_from = units_from.lower()
      units_to = units_to.lower()
      if units_from not in conversion_map.keys():
          raise KeyError(
              'Unable to convert from {0!r} to {1!r}'.format(
                  units_from, units_to))
      conversion_sub_map = conversion_map[units_from]
      if units_to not in conversion_sub_map.keys():
          raise KeyError(
              'Unable to convert from {0!r} to {1!r}'.format(
                  units_from, units_to))
      return conversion_sub_map[units_to](temperature)
  
subject: Fix "Fahrenheit" typo