Permalink
Browse files

Fixed #12732 -- Corrected an argument naming problem introduced by r1…

…2532. Thanks to stevedegrace for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 33b1036 commit 9a014a3a598bb0730319d38690716c474fdb925e @freakboy3742 freakboy3742 committed Jan 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/backends/postgresql/base.py
View
2 django/db/backends/postgresql/base.py
@@ -54,7 +54,7 @@ def format_params(self, params):
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:

0 comments on commit 9a014a3

Please sign in to comment.