Author: mtredinnick
Date: 2007-10-13 21:12:03 -0500 (Sat, 13 Oct 2007)
New Revision: 6485

Modified:
   django/branches/queryset-refactor/django/db/models/sql/where.py
Log:
queryset-refactor: Fixed small deepcopy bug in Where clauses.


Modified: django/branches/queryset-refactor/django/db/models/sql/where.py
===================================================================
--- django/branches/queryset-refactor/django/db/models/sql/where.py     
2007-10-14 02:11:47 UTC (rev 6484)
+++ django/branches/queryset-refactor/django/db/models/sql/where.py     
2007-10-14 02:12:03 UTC (rev 6485)
@@ -36,6 +36,7 @@
         """
         obj = super(WhereNode, self).__deepcopy__(memodict)
         obj.query = self.query
+        memodict[id(obj)] = obj
         return obj
 
     def as_sql(self, node=None):


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to