Changeset 1714
- Timestamp:
- 08/27/07 20:26:32
- Files:
-
- branches/cherrypy-3.0.x/cherrypy/_cpchecker.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-3.0.x/cherrypy/_cpchecker.py
r1706 r1714 35 35 def check_skipped_app_config(self): 36 36 for sn, app in cherrypy.tree.apps.iteritems(): 37 if not isinstance(app, cherrypy.Application): 38 continue 37 39 if not app.config: 38 40 msg = "The Application mounted at %r has an empty config." % sn … … 50 52 request = cherrypy.request 51 53 for sn, app in cherrypy.tree.apps.iteritems(): 54 if not isinstance(app, cherrypy.Application): 55 continue 52 56 request.app = app 53 57 for section in app.config: … … 136 140 self._compat(cherrypy.config) 137 141 for sn, app in cherrypy.tree.apps.iteritems(): 142 if not isinstance(app, cherrypy.Application): 143 continue 138 144 self._compat(app.config) 139 145 … … 177 183 """Process config and warn on each unknown config namespace.""" 178 184 for sn, app in cherrypy.tree.apps.iteritems(): 185 if not isinstance(app, cherrypy.Application): 186 continue 179 187 self._known_ns(app.config) 180 188 … … 227 235 self._known_types(cherrypy.config) 228 236 for sn, app in cherrypy.tree.apps.iteritems(): 237 if not isinstance(app, cherrypy.Application): 238 continue 229 239 self._known_types(app.config) 230 240

