Author: russellm
Date: 2010-01-29 20:25:33 -0600 (Fri, 29 Jan 2010)
New Revision: 12359

Modified:
   django/trunk/django/db/backends/postgresql/base.py
Log:
Fixed #12732 -- Corrected an argument naming problem introduced by r12532. 
Thanks to stevedegrace for the report.

Modified: django/trunk/django/db/backends/postgresql/base.py
===================================================================
--- django/trunk/django/db/backends/postgresql/base.py  2010-01-29 18:38:28 UTC 
(rev 12358)
+++ django/trunk/django/db/backends/postgresql/base.py  2010-01-30 02:25:33 UTC 
(rev 12359)
@@ -54,7 +54,7 @@
 
     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:

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to