Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a typo so that cloning UpdateQuery objects won't fail mysteriou…

…sly.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cfcfc456e909df9f9184d3dd7a5eaca0d0cdbd18 1 parent e47cc78
Malcolm Tredinnick authored September 11, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/models/sql/subqueries.py
2  django/db/models/sql/subqueries.py
@@ -106,7 +106,7 @@ def _setup_query(self):
106 106
 
107 107
     def clone(self, klass=None, **kwargs):
108 108
         return super(UpdateQuery, self).clone(klass,
109  
-                related_updates=self.related_updates.copy, **kwargs)
  109
+                related_updates=self.related_updates.copy(), **kwargs)
110 110
 
111 111
     def execute_sql(self, result_type=None):
112 112
         """

0 notes on commit cfcfc45

Please sign in to comment.
Something went wrong with that request. Please try again.