summaryrefslogtreecommitdiff
path: root/django/db/models/sql/subqueries.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-09-11 02:02:06 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-09-11 02:02:06 +0000
commitcfcfc456e909df9f9184d3dd7a5eaca0d0cdbd18 (patch)
tree86500c04ed4e50e297a8bc24a1ba985b801a8d4f /django/db/models/sql/subqueries.py
parente47cc781d844eea72e677d1d212b2dfd1b0c9225 (diff)
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
Diffstat (limited to 'django/db/models/sql/subqueries.py')
-rw-r--r--django/db/models/sql/subqueries.py2
1 files changed, 1 insertions, 1 deletions
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):
"""