JC
unread,Feb 25, 2008, 8:29:17 AM2/25/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cherrypy-devel
In caching.py, at line 86, should:
def delete(self):
self.cache.pop(self.key)
be:
def delete(self):
self.cache.pop(self.key, None)
instead? Otherwise, delete() throws a KeyError if the key doesn't
exist, for example, at line 121:
if request.method in invalid_methods:
cherrypy._cache.delete()
Jeff