Permalink
Browse files

Fixed #2913: CursorDebugWrapper no longer double-tuple-izes parameter…

…s. Thanks, artdent@freeshell.org

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 92151b2 commit 86143f7599e964cf3dc8ad3a88294d443a8138ff @jacobian jacobian committed Nov 7, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/backends/util.py
@@ -17,7 +17,7 @@ def execute(self, sql, params=()):
if not isinstance(params, (tuple, dict)):
params = tuple(params)
self.db.queries.append({
- 'sql': sql % tuple(params),
+ 'sql': sql % params,
'time': "%.3f" % (stop - start),
})

0 comments on commit 86143f7

Please sign in to comment.