Changeset 2455
- Timestamp:
- 06/16/09 11:00:27
- Files:
-
- branches/python3/cherrypy/lib/caching.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/python3/cherrypy/lib/caching.py
r2412 r2455 138 138 while time: 139 139 now = time.time() 140 for expiration_time, objects in self.expirations.items(): 140 # Must make a copy of expirations so it doesn't change size 141 # during iteration 142 for expiration_time, objects in list(self.expirations.items()): 141 143 if expiration_time <= now: 142 144 for obj_size, obj_key in objects:

