diff examples/cherrypy/index.py @ 432:406915754870 trunk

* Updated change log * Updated CherryPy example to 3.0
author cmlenz
date Thu, 22 Mar 2007 18:54:09 +0000
parents 8a13cbab435e
children
line wrap: on
line diff
--- a/examples/cherrypy/index.py
+++ b/examples/cherrypy/index.py
@@ -15,8 +15,5 @@
         return tmpl.generate(name='world').render('xhtml')
 
 
-cherrypy.root = Example()
-
 if __name__ == '__main__':
-    cherrypy.config.update(file='config.txt')
-    cherrypy.server.start()
+    cherrypy.quickstart(Example(), config='config.txt')
Copyright (C) 2012-2017 Edgewall Software