diff options
Diffstat (limited to 'cheetah')
-rw-r--r-- | cheetah/Template.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cheetah/Template.py b/cheetah/Template.py index f42f77b..3eec6c1 100644 --- a/cheetah/Template.py +++ b/cheetah/Template.py @@ -1329,8 +1329,8 @@ class Template(Servlet): """ if not cacheRegionId: - for key, cregion in self.getCacheRegions(): - cregion.clear() + for cacheRegion in self.getCacheRegions().itervalues(): + cacheRegion.clear() else: cregion = self._CHEETAH__cacheRegions.get(cacheRegionId) if not cregion: |