diff options
author | Aaron Bentley <aaron.bentley@utoronto.ca> | 2007-07-15 12:43:30 -0400 |
---|---|---|
committer | Aaron Bentley <aaron.bentley@utoronto.ca> | 2007-07-15 12:43:30 -0400 |
commit | 7969f5ec12c0107b7c799a7bf26d8c43c1615b15 (patch) | |
tree | 1d7f3f22fceabe46752fe85907bd24c40175abe2 /Bugs-Everywhere-Web/start-beweb.py | |
parent | 9703aefca39996f954a91f5426f193c06661e69c (diff) | |
parent | b14962ab20d38c2a8fdaba8ecde55174141891a5 (diff) | |
download | bugseverywhere-7969f5ec12c0107b7c799a7bf26d8c43c1615b15.tar.gz |
Merge from panometrics
Diffstat (limited to 'Bugs-Everywhere-Web/start-beweb.py')
-rwxr-xr-x | Bugs-Everywhere-Web/start-beweb.py | 9 |
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()) |