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

Changeset 1637

Show
Ignore:
Timestamp:
03/09/07 12:45:54
Author:
fumanchu
Message:

3.0 fix for #662 (caching.get doesn't accept kwargs).

Files:

Legend:

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

    r1594 r1637  
    8888 
    8989 
    90 def get(invalid_methods=("POST", "PUT", "DELETE"), cache_class=MemoryCache): 
     90def get(invalid_methods=("POST", "PUT", "DELETE"), cache_class=MemoryCache, **kwargs): 
    9191    """Try to obtain cached output. If fresh enough, raise HTTPError(304). 
    9292     

Hosted by WebFaction

Log in as guest/cpguest to create tickets