summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8b2c8fa)
svn path=/trunk/web/; revision=264
def clear(self):
"""Clear the state so future accesses reload it."""
def clear(self):
"""Clear the state so future accesses reload it."""
- for attr in self.__dict__:
+ for attr in list(self.__dict__):
if attr.startswith('__cache_'):
delattr(self, attr)
if attr.startswith('__cache_'):
delattr(self, attr)