aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/start-beweb.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2006-12-05 16:08:03 -0500
committerAaron Bentley <abentley@panoramicfeedback.com>2006-12-05 16:08:03 -0500
commitea15510609d1516000daa8a685731df5d549bfba (patch)
tree123012cb2e0d0d31c3b32977b870a08966859835 /Bugs-Everywhere-Web/start-beweb.py
parent43fe901fa3f239b57e2343fbca322f2f5a91320f (diff)
downloadbugseverywhere-ea15510609d1516000daa8a685731df5d549bfba.tar.gz
Mostly upgrade to turbogears 1.0b1
Diffstat (limited to 'Bugs-Everywhere-Web/start-beweb.py')
-rwxr-xr-xBugs-Everywhere-Web/start-beweb.py9
1 files changed, 4 insertions, 5 deletions
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())