Fixed #18103 -- Regression introduced in r17895.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Aymeric Augustin 2012-04-11 13:00:38 +00:00
parent f5a9e5e928
commit f0697570e9
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ class BaseContext(object):
def _reset_dicts(self, value=None):
builtins = {'True': True, 'False': False, 'None': None}
if value:
builtins.update(value)
self.dicts = [builtins]
if value is not None:
self.dicts.append(value)
def __copy__(self):
duplicate = copy(super(BaseContext, self))