summaryrefslogtreecommitdiff
path: root/cherrypy/lib/covercp.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2006-05-07 06:17:20 +0000
committerRobert Brewer <fumanchu@aminus.org>2006-05-07 06:17:20 +0000
commit75d306ecb9f843782254c0250b6afa2df9b4e332 (patch)
tree43ae95d18939991ab4d1a09ad822063d4038ed59 /cherrypy/lib/covercp.py
parent04770b41627d0995cb00f6b3f8450813190d1010 (diff)
downloadcherrypy-git-75d306ecb9f843782254c0250b6afa2df9b4e332.tar.gz
Moved covercp, profiler to tree.mount syntax.
Diffstat (limited to 'cherrypy/lib/covercp.py')
-rw-r--r--cherrypy/lib/covercp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/covercp.py b/cherrypy/lib/covercp.py
index 39cc5b99..51278c88 100644
--- a/cherrypy/lib/covercp.py
+++ b/cherrypy/lib/covercp.py
@@ -344,7 +344,7 @@ def serve(path=localFile, port=8080):
coverage.cache_default = path
import cherrypy
- cherrypy.root = CoverStats()
+ cherrypy.tree.mount(CoverStats())
cherrypy.config.update({'server.socket_port': port,
'server.thread_pool': 10,
'environment': "production",