aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/cache.py
diff options
context:
space:
mode:
authorAymeric Augustin2013-10-16 23:17:59 +0200
committerAymeric Augustin2013-10-17 18:24:58 +0200
commitdc19b418a258bf7d7cabebfe83690b5b0291f60f (patch)
tree0b00913aa6d1fc23b797717002bcf9c20123db27 /debug_toolbar/panels/cache.py
parent87a73758431a417f6f1aa7313260e1049549f713 (diff)
downloaddjango-debug-toolbar-dc19b418a258bf7d7cabebfe83690b5b0291f60f.tar.bz2
Stopped using dict.iter*.
Since performance isn't a primary concern, the non-iterable versions will do just fine on Python 2.
Diffstat (limited to 'debug_toolbar/panels/cache.py')
-rw-r--r--debug_toolbar/panels/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/panels/cache.py b/debug_toolbar/panels/cache.py
index 80a3b46..1272dfc 100644
--- a/debug_toolbar/panels/cache.py
+++ b/debug_toolbar/panels/cache.py
@@ -168,7 +168,7 @@ class CacheDebugPanel(DebugPanel):
else:
self.hits += 1
elif name == 'get_many':
- for key, value in return_value.iteritems():
+ for key, value in return_value.items():
if value is None:
self.misses += 1
else: