diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-21 23:38:52 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-21 23:38:52 +0000 |
| commit | 9117a4af30b87f95f87a5ebdb2a0af965d4bebb6 (patch) | |
| tree | 65a1f744e37eef3886311108cf892b908e982d5d /django/utils | |
| parent | 01f4ce4c4993ecf0f5f3095e97ce92935337de61 (diff) | |
move an mport out of a function
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/functional.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py index 67b727f012..1bd2286728 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -1,3 +1,4 @@ +import copy import operator from functools import wraps, update_wrapper @@ -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 |
