Loading django/utils/functional.py +1 −1 Original line number Diff line number Diff line import copy import operator from functools import wraps, update_wrapper Loading Loading @@ -258,7 +259,6 @@ class SimpleLazyObject(LazyObject): memo[id(self)] = result return result else: import copy return copy.deepcopy(self._wrapped, memo) # Need to pretend to be the wrapped class, for the sake of objects that care Loading Loading
django/utils/functional.py +1 −1 Original line number Diff line number Diff line import copy import operator from functools import wraps, update_wrapper Loading Loading @@ -258,7 +259,6 @@ class SimpleLazyObject(LazyObject): memo[id(self)] = result return result else: import copy return copy.deepcopy(self._wrapped, memo) # Need to pretend to be the wrapped class, for the sake of objects that care Loading