summaryrefslogtreecommitdiff
path: root/django/utils/functional.py
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2014-03-12 23:09:18 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2014-03-13 10:03:01 +0100
commit5c5b266b5478aa4e8bd92f141c56f3a0997749eb (patch)
tree2fbbdd5cf8590db6074ee1e9b0e9e84ef3052be8 /django/utils/functional.py
parent61917aa08b4ab2bc35f3ffe87b7693bd8b58e205 (diff)
Simplified implementation of collectstatic command.
Since d2e242d16c6dde6f4736086fb38057424bed3edb made isinstance() calls work correctly on LazyObject, we can simplify the implementation of is_local_storage added in 7e27885c6e7588471fd94a4def16b7081577bdfc.
Diffstat (limited to 'django/utils/functional.py')
-rw-r--r--django/utils/functional.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py
index 35f48c6251..361b0f14fb 100644
--- a/django/utils/functional.py
+++ b/django/utils/functional.py
@@ -367,7 +367,7 @@ class SimpleLazyObject(LazyObject):
def __deepcopy__(self, memo):
if self._wrapped is empty:
- # We have to use type(self), not self.__class__, because the
+ # We have to use SimpleLazyObject, not self.__class__, because the
# latter is proxied.
result = SimpleLazyObject(self._setupfunc)
memo[id(self)] = result