projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8b2c8fa
)
Fix bug during create/delete clearing the cache
author
Eric Price
<ecprice@mit.edu>
Wed, 30 Jan 2008 04:46:07 +0000
(23:46 -0500)
committer
Eric Price
<ecprice@mit.edu>
Wed, 30 Jan 2008 04:46:07 +0000
(23:46 -0500)
svn path=/trunk/web/; revision=264
webcommon.py
patch
|
blob
|
history
diff --git
a/webcommon.py
b/webcommon.py
index
1b39a2c
..
4b58e6b
100644
(file)
--- a/
webcommon.py
+++ b/
webcommon.py
@@
-48,7
+48,7
@@
class Global(object):
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)