diff options
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/functional.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py index 666651bd2e..2771851eae 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -144,10 +144,7 @@ def lazy(func, *resultclasses): return bytes(func(*self.__args, **self.__kw)) def __cast(self): - if self._delegate_bytes: - return self.__bytes_cast() - else: - return func(*self.__args, **self.__kw) + return func(*self.__args, **self.__kw) def __str__(self): # object defines __str__(), so __prepare_class__() won't overload |
