try:
    from gevent.monkey import patch_all
    patch_all()
except ImportError:
    print "unable to apply gevent monkey.patch_all"

import os

from werkzeug.contrib.fixers import ProxyFix

from app import app as application

if os.environ.get('SENTRY_DSN'):
    from raven.contrib.flask import Sentry
    sentry = Sentry()
    sentry.init_app(application)

application.wsgi_app = ProxyFix(application.wsgi_app)


import os

from werkzeug.contrib.fixers import ProxyFix

from app import app as application

if os.environ.get('SENTRY_DSN'):
    from raven.contrib.flask import Sentry
    sentry = Sentry()
    sentry.init_app(application)

application.wsgi_app = ProxyFix(application.wsgi_app)

Comment out gevent until we need it
Comment out gevent until we need it

- try:
-     from gevent.monkey import patch_all
-     patch_all()
- except ImportError:
-     print "unable to apply gevent monkey.patch_all"
  
  import os
  
  from werkzeug.contrib.fixers import ProxyFix
  
  from app import app as application
  
  if os.environ.get('SENTRY_DSN'):
      from raven.contrib.flask import Sentry
      sentry = Sentry()
      sentry.init_app(application)
  
  application.wsgi_app = ProxyFix(application.wsgi_app)
  
Comment out gevent until we need it
## Code Before:
try:
    from gevent.monkey import patch_all
    patch_all()
except ImportError:
    print "unable to apply gevent monkey.patch_all"

import os

from werkzeug.contrib.fixers import ProxyFix

from app import app as application

if os.environ.get('SENTRY_DSN'):
    from raven.contrib.flask import Sentry
    sentry = Sentry()
    sentry.init_app(application)

application.wsgi_app = ProxyFix(application.wsgi_app)

## Instruction:
Comment out gevent until we need it
## Code After:

import os

from werkzeug.contrib.fixers import ProxyFix

from app import app as application

if os.environ.get('SENTRY_DSN'):
    from raven.contrib.flask import Sentry
    sentry = Sentry()
    sentry.init_app(application)

application.wsgi_app = ProxyFix(application.wsgi_app)
