[Zope] Programmatically flushing entries from RAM cache?

2005-12-14 Thread John Barham
Is it possible to flush a path w/ a specific argument from a RAM cache from a Python script? Here's my situation: I have a script FolderExists() that takes a single path argument and, after running an SQL query, returns True or False if the folder path exists or not in the database. Since the

Re: [Zope] Programmatically flushing entries from RAM cache?

2005-12-14 Thread Paul Winkler
On Thu, Dec 15, 2005 at 11:45:51AM +0900, John Barham wrote: Is it possible to flush a path w/ a specific argument from a RAM cache from a Python script? I'm not sure what the specific argument refers to, but in general, sure. Just do this: ob = context.restrictedTraverse(some_path)