Fixed a typo so that cloning UpdateQuery objects won't fail mysteriously.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-09-11 02:02:06 +00:00
parent e47cc781d8
commit cfcfc456e9
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class UpdateQuery(Query):
def clone(self, klass=None, **kwargs):
return super(UpdateQuery, self).clone(klass,
related_updates=self.related_updates.copy, **kwargs)
related_updates=self.related_updates.copy(), **kwargs)
def execute_sql(self, result_type=None):
"""