summaryrefslogtreecommitdiff
path: root/cherrypy/lib/covercp.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2006-08-05 23:05:52 +0000
committerRobert Brewer <fumanchu@aminus.org>2006-08-05 23:05:52 +0000
commit18b33b51a0183605747f0a2b36e3b464897c01d5 (patch)
treefd03ad9627679849cc25265af81c934e03909370 /cherrypy/lib/covercp.py
parentac1aeb9f0c7b98fcff1786d1b6806b6c73db0331 (diff)
downloadcherrypy-git-18b33b51a0183605747f0a2b36e3b464897c01d5.tar.gz
Changed server.start to server.quickstart, and server.start_all to server.start.
Diffstat (limited to 'cherrypy/lib/covercp.py')
-rw-r--r--cherrypy/lib/covercp.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cherrypy/lib/covercp.py b/cherrypy/lib/covercp.py
index 1ef53fb3..7441aaaa 100644
--- a/cherrypy/lib/covercp.py
+++ b/cherrypy/lib/covercp.py
@@ -349,13 +349,11 @@ def serve(path=localFile, port=8080):
coverage.cache_default = path
import cherrypy
- cherrypy.tree.mount(CoverStats())
cherrypy.config.update({'server.socket_port': port,
'server.thread_pool': 10,
'environment': "production",
})
- cherrypy.server.start()
- cherrypy.engine.start()
+ cherrypy.quickstart(CoverStats())
if __name__ == "__main__":
serve(*tuple(sys.argv[1:]))