old_contents: # Set up a null roothandler for our logging system
  
  import logging
  try:  # Python 2.7+
      from logging import NullHandler
  except ImportError:
      class NullHandler(logging.Handler):
          def emit(self, record):
              pass
  
  logging.getLogger(__name__).addHandler(NullHandler())
  
new_contents: # Set up a null roothandler for our logging system
  
  import logging
  from logging import NullHandler
  logging.getLogger(__name__).addHandler(NullHandler())
  
subject: Remove the NullHandler patch because we don't support any python versions that need it