Skip to content

Commit

Permalink
magic-removal: Fixed #1652 -- Fixed typo in SQLite executemany()
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Apr 17, 2006
1 parent 8117aca commit 32aa5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/db/backends/sqlite3/base.py
Expand Up @@ -70,7 +70,7 @@ def execute(self, query, params=()):

def executemany(self, query, param_list):
query = self.convert_query(query, len(param_list[0]))
return Database.Cursor.executemany(self, query, params)
return Database.Cursor.executemany(self, query, param_list)

def convert_query(self, query, num_params):
return query % tuple("?" * num_params)
Expand Down

0 comments on commit 32aa5c9

Please sign in to comment.