Changeset 1151
- Timestamp:
- 10/08/03 23:12:27 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r1148 r1151 22 22 # 23 23 # $Log$ 24 # Revision 1.25 2003/10/08 21:12:27 jalet 25 # Do not cache anymore entries which don't exist. 26 # 24 27 # Revision 1.24 2003/10/07 22:06:05 jalet 25 28 # Preliminary code to disable job history … … 342 345 def cacheEntry(self, cachetype, key, value) : 343 346 """Puts an entry in the cache.""" 344 if self.usecache :347 if self.usecache and getattr(value, "Exists", 0) : 345 348 self.caches[cachetype][key] = value 346 349 self.tool.logdebug("Cache store (%s->%s)" % (cachetype, key))