From cfcfc456e909df9f9184d3dd7a5eaca0d0cdbd18 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Thu, 11 Sep 2008 02:02:06 +0000 Subject: [PATCH] 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 --- django/db/models/sql/subqueries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/models/sql/subqueries.py b/django/db/models/sql/subqueries.py index 1800d48fc3..77b5d6cf37 100644 --- a/django/db/models/sql/subqueries.py +++ b/django/db/models/sql/subqueries.py @@ -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): """