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

Changeset 1091

Show
Ignore:
Timestamp:
05/02/06 18:42:20
Author:
fumanchu
Message:

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

Files:

Legend:

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

    r1082 r1091  
    6666        if alias is not None: 
    6767            if isinstance(alias, basestring): 
    68                 parents[alias] = func 
     68                parents[alias.replace(".", "_")] = func 
    6969            else: 
    7070                for a in alias: 
    71                     parents[a] = func 
     71                    parents[a.replace(".", "_")] = func 
    7272        return func 
    7373     

Hosted by WebFaction

Log in as guest/cpguest to create tickets