From b6596a995fa72aab60b203ad095d871d468e279e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9gory=20Starck?= <g.starck@mondialtelecom.be>
Date: Thu, 21 Feb 2013 13:56:02 +0100
Subject: [PATCH] #19873: DebugCursor.execute: default args to None.
---
django/db/backends/util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/django/db/backends/util.py b/django/db/backends/util.py
index 32e0f4f..06eeb50 100644
a
|
b
|
class CursorWrapper(object):
|
33 | 33 | |
34 | 34 | class CursorDebugWrapper(CursorWrapper): |
35 | 35 | |
36 | | def execute(self, sql, params=()): |
| 36 | def execute(self, sql, params=None): |
37 | 37 | self.set_dirty() |
38 | 38 | start = time() |
39 | 39 | try: |