From 9a014a3a598bb0730319d38690716c474fdb925e Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 30 Jan 2010 02:25:33 +0000 Subject: [PATCH] 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 --- django/db/backends/postgresql/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: