1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

[boulder-oracle-sprint] made a small idiomatic change to oracle base.py (thanks, cramm)

git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@3977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2006-11-04 20:47:07 +00:00
parent b543ef9bf1
commit 4d8a0482c6

View File

@ -76,7 +76,7 @@ class FormatStylePlaceholderCursor(Database.Cursor):
# cx can not execute the query with the closing ';'
if query.endswith(';'):
query = query[0:len(query)-1]
query = query[:-1]
return Database.Cursor.execute(self, query, params)
def executemany(self, query, params=None):