Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1714

Show
Ignore:
Timestamp:
08/27/07 20:26:32
Author:
fumanchu
Message:

Fix for checker breakage when using grafted WSGI apps.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-3.0.x/cherrypy/_cpchecker.py

    r1706 r1714  
    3535    def check_skipped_app_config(self): 
    3636        for sn, app in cherrypy.tree.apps.iteritems(): 
     37            if not isinstance(app, cherrypy.Application): 
     38                continue 
    3739            if not app.config: 
    3840                msg = "The Application mounted at %r has an empty config." % sn 
     
    5052        request = cherrypy.request 
    5153        for sn, app in cherrypy.tree.apps.iteritems(): 
     54            if not isinstance(app, cherrypy.Application): 
     55                continue 
    5256            request.app = app 
    5357            for section in app.config: 
     
    136140        self._compat(cherrypy.config) 
    137141        for sn, app in cherrypy.tree.apps.iteritems(): 
     142            if not isinstance(app, cherrypy.Application): 
     143                continue 
    138144            self._compat(app.config) 
    139145     
     
    177183        """Process config and warn on each unknown config namespace.""" 
    178184        for sn, app in cherrypy.tree.apps.iteritems(): 
     185            if not isinstance(app, cherrypy.Application): 
     186                continue 
    179187            self._known_ns(app.config) 
    180188     
     
    227235        self._known_types(cherrypy.config) 
    228236        for sn, app in cherrypy.tree.apps.iteritems(): 
     237            if not isinstance(app, cherrypy.Application): 
     238                continue 
    229239            self._known_types(app.config) 
    230240 

Hosted by WebFaction

Log in as guest/cpguest to create tickets