From 22e016ff6c18a35a450519b94de63033f83e6b4f Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Thu, 28 Feb 2008 21:24:51 +0000 Subject: gis: Merged revisions 7105-7168 via svnmerge from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@7176 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/http/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'django/http/__init__.py') diff --git a/django/http/__init__.py b/django/http/__init__.py index 69e9d51204..7a85e20515 100644 --- a/django/http/__init__.py +++ b/django/http/__init__.py @@ -171,7 +171,7 @@ class QueryDict(MultiValueDict): dict.__setitem__(result, key, value) return result - def __deepcopy__(self, memo={}): + def __deepcopy__(self, memo): import copy result = self.__class__('', mutable=True) memo[id(self)] = result @@ -223,7 +223,7 @@ class QueryDict(MultiValueDict): def copy(self): "Returns a mutable copy of this object." - return self.__deepcopy__() + return self.__deepcopy__({}) def urlencode(self): output = [] -- cgit v1.3