diff -rcN SQLObject.orig/sqlobject/cache.py SQLObject/sqlobject/cache.py *** SQLObject.orig/sqlobject/cache.py Mon Nov 22 13:55:54 2004 --- SQLObject/sqlobject/cache.py Mon Nov 22 14:33:49 2004 *************** *** 139,145 **** self.lock.release() def clear(self): ! self.cache.clear() self.expiredCache.clear() def expire(self, id): --- 139,146 ---- self.lock.release() def clear(self): ! if self.doCache: ! self.cache.clear() self.expiredCache.clear() def expire(self, id):