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

Changeset 777

Show
Ignore:
Timestamp:
11/01/05 15:22:11
Author:
fumanchu
Message:

Fix for #363 (Request-URI of "*" now maps to root.global_ instead of root._global).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/_cphttptools.py

    r775 r777  
    306306            objectPathList = tpath.split('/') 
    307307        if objectPathList == ['global']: 
    308             objectPathList = ['_global'] 
     308            objectPathList = ['global_'] 
    309309        objectPathList = ['root'] + objectPathList + ['index'] 
    310310         
  • trunk/cherrypy/test/test_config.py

    r768 r777  
    77        return cherrypy.config.get(key, "None") 
    88    index.exposed = True 
    9     _global = index 
     9    global_ = index 
    1010    xyz = index 
    1111 
  • trunk/cherrypy/test/test_core.py

    r776 r777  
    1818    andnow.exposed = True 
    1919     
    20     def _global(self): 
     20    def global_(self): 
    2121        pass 
    22     _global.exposed = True 
     22    global_.exposed = True 
    2323 
    2424cherrypy.root = Root() 

Hosted by WebFaction

Log in as guest/cpguest to create tickets