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

Changeset 817

Show
Ignore:
Timestamp:
11/13/05 16:15:51
Author:
peterhunt
Message:

autoreloading eggs #273

Files:

Legend:

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

    r769 r817  
    1414     
    1515    def fileattr(m): 
     16        if hasattr(m, "__loader__"): 
     17            if hasattr(m.__loader__, "archive"): 
     18                return m.__loader__.archive 
    1619        return getattr(m, "__file__", None) 
    1720     

Hosted by WebFaction

Log in as guest/cpguest to create tickets