cherrypy.tree.mount(root=None,config=conf)
File "/var/lib/python-support/python2.4/cherrypy/_cptree.py", line 112, in mount
app.merge(config)
File "/var/lib/python-support/python2.4/cherrypy/_cptree.py", line 68, in merge
_cpconfig.merge(self.config, config)
File "/var/lib/python-support/python2.4/cherrypy/_cpconfig.py", line 154, in merge
base.setdefault(section, {}).update(value_map)
ValueError: dictionary update sequence element #0 has length 1; 2 is required
------------------------------------------------------------------------------------
dispatcher = CustomDispatch.MethodDispatch()
# Add a route to our controller
config = {'environment': 'production',
'request.dispatch': dispatcher.dispatch
}
cherrypy.config.update(config)
dispatcher.connect(name='Test', route='/Services', controller=Test(), conf=config)
dispatcher.finalize()