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

Changeset 1484

Show
Ignore:
Timestamp:
12/09/06 13:00:14
Author:
fumanchu
Message:

2.x Fix for #426 (cherrypy.expose alias problems with dots).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-2.x/cherrypy/__init__.py

    r1238 r1484  
    7575        if alias is not None: 
    7676            if isinstance(alias, basestring): 
    77                 parents[alias] = func 
     77                parents[alias.replace(".", "_")] = func 
    7878            else: 
    7979                for a in alias: 
    80                     parents[a] = func 
     80                    parents[a.replace(".", "_")] = func 
    8181        return func 
    8282     

Hosted by WebFaction

Log in as guest/cpguest to create tickets