mirror of
				https://github.com/django/django.git
				synced 2025-10-29 00:26:07 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -54,7 +54,7 @@ class UnicodeCursorWrapper(object): | |||||||
|  |  | ||||||
|     def execute(self, sql, params=()): |     def execute(self, sql, params=()): | ||||||
|         try: |         try: | ||||||
|             return self.cursor.execute(query, args) |             return self.cursor.execute(sql, params) | ||||||
|         except Database.IntegrityError, e: |         except Database.IntegrityError, e: | ||||||
|             raise utils.IntegrityError, utils.IntegrityError(*tuple(e)), sys.exc_info()[2] |             raise utils.IntegrityError, utils.IntegrityError(*tuple(e)), sys.exc_info()[2] | ||||||
|         except Database.DatabaseError, e: |         except Database.DatabaseError, e: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user