diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-06-05 00:46:18 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-06-05 00:46:18 +0000 |
| commit | 643c7b23a99ef51ff485373478113e4a6c0e4969 (patch) | |
| tree | 45db0060646fa85136e54b2590b0309e8d3925f5 | |
| parent | 066dac168d621f074a3e5296482107c5c18972a7 (diff) | |
Fixed #2079 -- Fixed bug introduced in [3070] in django.utils.datastructures
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/utils/datastructures.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django/utils/datastructures.py b/django/utils/datastructures.py index a15f09ca7b..3d7c4275bb 100644 --- a/django/utils/datastructures.py +++ b/django/utils/datastructures.py @@ -124,8 +124,9 @@ class MultiValueDict(dict): def __copy__(self): return self.__class__(dict.items(self)) - def __deepcopy__(self, memo): + def __deepcopy__(self, memo=None): import copy + if memo is None: memo = {} result = self.__class__() memo[id(self)] = result for key, value in dict.items(self): |
