old_contents: import os
  import site
  
  try:
      import newrelic.agent
  except ImportError:
      newrelic = False
  
  if newrelic:
      newrelic_ini = os.getenv('NEWRELIC_PYTHON_INI_FILE', False)
      if newrelic_ini:
          newrelic.agent.initialize(newrelic_ini)
      else:
          newrelic = False
  
  os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mozillians.settings')
  os.environ.setdefault('CELERY_LOADER', 'django')
  
  # Add `mozillians` to the python path
  wsgidir = os.path.dirname(__file__)
  site.addsitedir(os.path.abspath(os.path.join(wsgidir, '../')))
  
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  
  if newrelic:
      application = newrelic.agent.wsgi_application()(application)
  
new_contents: import os
  import site
  
  try:
      import newrelic.agent
  except ImportError:
      newrelic = False
  
  if newrelic:
      newrelic_ini = os.getenv('NEWRELIC_PYTHON_INI_FILE', False)
      if newrelic_ini:
          newrelic.agent.initialize(newrelic_ini)
      else:
          newrelic = False
  
  os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mozillians.settings')
  
  # Add `mozillians` to the python path
  wsgidir = os.path.dirname(__file__)
  site.addsitedir(os.path.abspath(os.path.join(wsgidir, '../')))
  
  from django.core.wsgi import get_wsgi_application
  application = get_wsgi_application()
  
  if newrelic:
      application = newrelic.agent.wsgi_application()(application)
  
subject: Fix wsgi issue.