Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2079 -- Fixed bug introduced in [3070] in django.utils.datastr…

…uctures

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 643c7b23a99ef51ff485373478113e4a6c0e4969 1 parent 066dac1
Adrian Holovaty authored June 05, 2006

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

  1. 3  django/utils/datastructures.py
3  django/utils/datastructures.py
@@ -124,8 +124,9 @@ def __setitem__(self, key, value):
124 124
     def __copy__(self):
125 125
         return self.__class__(dict.items(self))
126 126
 
127  
-    def __deepcopy__(self, memo):
  127
+    def __deepcopy__(self, memo=None):
128 128
         import copy
  129
+        if memo is None: memo = {}
129 130
         result = self.__class__()
130 131
         memo[id(self)] = result
131 132
         for key, value in dict.items(self):

0 notes on commit 643c7b2

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