summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-01-30 02:25:33 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-01-30 02:25:33 +0000
commit9a014a3a598bb0730319d38690716c474fdb925e (patch)
treea257a4cfad0cabec0de7183f11d55e4660cf02a1
parent33b1036f6f6b1a1bf50254db093a13f7b19a4873 (diff)
Fixed #12732 -- Corrected an argument naming problem introduced by r12532. Thanks to stevedegrace for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/db/backends/postgresql/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py
index faf5dd20db..85b2acb9d2 100644
--- a/django/db/backends/postgresql/base.py
+++ b/django/db/backends/postgresql/base.py
@@ -54,7 +54,7 @@ class UnicodeCursorWrapper(object):
def execute(self, sql, params=()):
try:
- return self.cursor.execute(query, args)
+ return self.cursor.execute(sql, params)
except Database.IntegrityError, e:
raise utils.IntegrityError, utils.IntegrityError(*tuple(e)), sys.exc_info()[2]
except Database.DatabaseError, e: