From ea15510609d1516000daa8a685731df5d549bfba Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Tue, 5 Dec 2006 16:08:03 -0500 Subject: Mostly upgrade to turbogears 1.0b1 --- Bugs-Everywhere-Web/start-beweb.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Bugs-Everywhere-Web/start-beweb.py') diff --git a/Bugs-Everywhere-Web/start-beweb.py b/Bugs-Everywhere-Web/start-beweb.py index 6eba527..39100e7 100755 --- a/Bugs-Everywhere-Web/start-beweb.py +++ b/Bugs-Everywhere-Web/start-beweb.py @@ -15,15 +15,14 @@ import sys # probably installed if len(sys.argv) > 1: turbogears.update_config(configfile=sys.argv[1], - modulename="beweb.config.app") + modulename="beweb.config") elif exists(join(dirname(__file__), "setup.py")): turbogears.update_config(configfile="dev.cfg", - modulename="beweb.config.app") + modulename="beweb.config") else: turbogears.update_config(configfile="prod.cfg", - modulename="beweb.config.app") + modulename="beweb.config") from beweb.controllers import Root -cherrypy.root = Root() -cherrypy.server.start() +turbogears.start_server(Root()) -- cgit