from cherrypy import wsgiserver
from app import app
import jinja2.ext

# from http://flask.pocoo.org/snippets/24/
#d = wsgiserver.WSGIPathInfoDispatcher({'/': app})
#server = wsgiserver.CherryPyWSGIServer(('0.0.0.0', 8080), d)

if __name__ == '__main__':
    app.run('0.0.0.0', debug=True)
#   try:
#      server.start()
#   except KeyboardInterrupt:
#      server.stop()

@@ -107,17 +107,16 @@
 ets/24/%0A
-#
 d = wsgi
@@ -157,17 +157,16 @@
 : app%7D)%0A
-#
 server =
@@ -250,52 +250,16 @@
 _':%0A
-    app.run('0.0.0.0', debug=True)%0A#
    try:%0A
 #   
@@ -254,17 +254,16 @@
    try:%0A
-#
       se
@@ -275,17 +275,16 @@
 start()%0A
-#
    excep
@@ -304,17 +304,16 @@
 errupt:%0A
-#
       se

Put run back to production server