old_contents: """
  Object oriented wrapper around RPi.GPIO. Falls back to mock objects if RPi.GPIO
  is not found.
  """
  
  try:
      import RPi.GPIO
      from .raspberry_pi import *
  except RuntimeError:
      print(
      '----------------------------------------------------------------------------')
      print(
      ' WARNING: RPi.GPIO can only be run on the RPi. Falling back to mock objects.')
      print(
      '----------------------------------------------------------------------------')
  except ImportError:
      print('-------------------------------------------------------------------')
      print(' WARNING: RPi.GPIO library not found. Falling back to mock objects.')
      print('-------------------------------------------------------------------')
      from .gpio_mock import *
  
new_contents: """
  Object oriented wrapper around RPi.GPIO. Falls back to mock objects if RPi.GPIO
  is not found.
  """
  
  try:
      import RPi.GPIO
      from .raspberry_pi import *
  except RuntimeError:
      print(
      '----------------------------------------------------------------------------')
      print(
      ' WARNING: RPi.GPIO can only be run on the RPi. Falling back to mock objects.')
      print(
      '----------------------------------------------------------------------------')
      from .gpio_mock import *
  except ImportError:
      print('-------------------------------------------------------------------')
      print(' WARNING: RPi.GPIO library not found. Falling back to mock objects.')
      print('-------------------------------------------------------------------')
      from .gpio_mock import *
  
subject: Fix import errors on non-RPi platforms