Changeset 1887
- Timestamp:
- 02/05/08 00:27:29
- Files:
-
- trunk/cherrypy/_cpconfig.py (modified) (2 diffs)
- trunk/cherrypy/cherryd.py (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cpconfig.py
r1882 r1887 289 289 290 290 291 # Backward compatibility handler for the "engine" namespace.292 291 def _engine_namespace_handler(k, v): 292 """Backward compatibility handler for the "engine" namespace.""" 293 293 engine = cherrypy.engine 294 294 if k == 'autoreload_on': … … 312 312 313 313 314 def _tree_namespace_handler(k, v): 315 """Namespace handler for the 'tree' config namespace.""" 316 cherrypy.tree.graft(v, v.script_name) 317 cherrypy.engine.log("Mounted: %s on %s" % (v, v.script_name)) 318 Config.namespaces["tree"] = _tree_namespace_handler 319 320 314 321 class _Parser(ConfigParser.ConfigParser): 315 322 """Sub-class of ConfigParser that keeps the case of options and that raises

