Fixed #9068 -- Fixed a couple of typos in InsertQuery.clone(). Thanks, rush.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-10-05 11:55:52 +00:00
parent 2f188334d3
commit 40904d0404
1 changed files with 2 additions and 1 deletions

View File

@ -293,7 +293,8 @@ class InsertQuery(Query):
def clone(self, klass=None, **kwargs):
extras = {'columns': self.columns[:], 'values': self.values[:],
'params': self.params}
return super(InsertQuery, self).clone(klass, extras)
extras.update(kwargs)
return super(InsertQuery, self).clone(klass, **extras)
def as_sql(self):
# We don't need quote_name_unless_alias() here, since these are all