Skip to content

Commit

Permalink
Fixed #9068 -- Fixed a couple of typos in InsertQuery.clone(). Thanks…
Browse files Browse the repository at this point in the history
…, rush.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Oct 5, 2008
1 parent 2f18833 commit 40904d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion django/db/models/sql/subqueries.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ def __init__(self, *args, **kwargs):
def clone(self, klass=None, **kwargs): def clone(self, klass=None, **kwargs):
extras = {'columns': self.columns[:], 'values': self.values[:], extras = {'columns': self.columns[:], 'values': self.values[:],
'params': self.params} 'params': self.params}
return super(InsertQuery, self).clone(klass, extras) extras.update(kwargs)
return super(InsertQuery, self).clone(klass, **extras)


def as_sql(self): def as_sql(self):
# We don't need quote_name_unless_alias() here, since these are all # We don't need quote_name_unless_alias() here, since these are all
Expand Down

0 comments on commit 40904d0

Please sign in to comment.