Changeset 264 for trunk


Ignore:
Timestamp:
Jan 29, 2008, 11:46:07 PM (17 years ago)
Author:
ecprice
Message:

Fix bug during create/delete clearing the cache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/webcommon.py

    r261 r264  
    4949    def clear(self):
    5050        """Clear the state so future accesses reload it."""
    51         for attr in self.__dict__:
     51        for attr in list(self.__dict__):
    5252            if attr.startswith('__cache_'):
    5353                delattr(self, attr)
Note: See TracChangeset for help on using the changeset viewer.