aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/utils/tracking/db.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/utils/tracking/db.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/utils/tracking/db.py')
-rw-r--r--debug_toolbar/utils/tracking/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/utils/tracking/db.py b/debug_toolbar/utils/tracking/db.py
index f87f01c..dfcdd5c 100644
--- a/debug_toolbar/utils/tracking/db.py
+++ b/debug_toolbar/utils/tracking/db.py
@@ -84,7 +84,7 @@ class NormalCursorWrapper(object):
return params
if isinstance(params, dict):
return dict((key, self._quote_expr(value))
- for key, value in params.iteritems())
+ for key, value in params.items())
return map(self._quote_expr, params)
def _decode(self, param):