Changeset 1189
- Timestamp:
- 07/09/06 19:02:22
- Files:
-
- trunk/cherrypy/lib/caching.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/caching.py
r1187 r1189 37 37 while time: 38 38 now = time.time() 39 for expirationTime, objects in self.expirations :39 for expirationTime, objects in self.expirations.items(): 40 40 if expirationTime <= now: 41 41 for objSize, objKey in objects: … … 47 47 # the key may have been deleted elsewhere 48 48 pass 49 del self.expirations[expirationTime] 49 50 time.sleep(0.1) 50 51

