aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/utils
diff options
context:
space:
mode:
authorAymeric Augustin2013-10-17 10:18:45 +0200
committerAymeric Augustin2013-10-17 18:24:58 +0200
commit1decd62909db750f86b5437bc96ff941f4acd756 (patch)
treec83e96e23a5258b9cc753a7725e2fe10571f7f21 /debug_toolbar/utils
parent2eb91bde4ad2a75c7f4040c28fc06430e313f99e (diff)
downloaddjango-debug-toolbar-1decd62909db750f86b5437bc96ff941f4acd756.tar.bz2
Ensure _quote_params returns a list.
This fixes a few test failures.
Diffstat (limited to 'debug_toolbar/utils')
-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 dfcdd5c..86131c6 100644
--- a/debug_toolbar/utils/tracking/db.py
+++ b/debug_toolbar/utils/tracking/db.py
@@ -85,7 +85,7 @@ class NormalCursorWrapper(object):
if isinstance(params, dict):
return dict((key, self._quote_expr(value))
for key, value in params.items())
- return map(self._quote_expr, params)
+ return list(map(self._quote_expr, params))
def _decode(self, param):
try: