Changeset 1535
- Timestamp:
- 12/19/06 19:17:19
- Files:
-
- trunk/cherrypy/__init__.py (modified) (1 diff)
- trunk/cherrypy/_cpchecker.py (added)
- trunk/cherrypy/_cpconfig.py (modified) (4 diffs)
- trunk/cherrypy/_cpengine.py (modified) (2 diffs)
- trunk/cherrypy/test/checkerdemo.py (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/__init__.py
r1528 r1535 270 270 # without shadowing cherrypy.config. 271 271 config = _global_conf_alias = _cpconfig.Config() 272 273 import _cpchecker 274 checker = _cpchecker.Checker() trunk/cherrypy/_cpconfig.py
r1429 r1535 93 93 "staging": { 94 94 'engine.autoreload_on': False, 95 'engine.run_checker': False, 95 96 'tools.log_headers.on': False, 96 97 'request.show_tracebacks': False, … … 98 99 "production": { 99 100 'engine.autoreload_on': False, 101 'engine.run_checker': False, 100 102 'tools.log_headers.on': False, 101 103 'request.show_tracebacks': False, … … 104 106 "test_suite": { 105 107 'engine.autoreload_on': False, 108 'engine.run_checker': False, 106 109 'tools.log_headers.on': False, 107 110 'request.show_tracebacks': True, … … 225 228 226 229 if isinstance(config.get("global", None), dict): 230 if len(config) > 1: 231 cherrypy.checker.global_config_contained_paths = True 227 232 config = config["global"] 228 233 trunk/cherrypy/_cpengine.py
r1437 r1535 53 53 autoreload_frequency = 1 54 54 autoreload_match = ".*" 55 run_checker = True 55 56 56 57 def __init__(self): … … 74 75 """Start the application engine.""" 75 76 self.state = STARTING 77 78 if self.run_checker: 79 cherrypy.checker.checkall() 76 80 77 81 for func in self.on_start_engine_list:

