diff options
| author | Ran Benita <ran234@gmail.com> | 2019-05-03 13:00:37 +0300 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-06-08 09:15:40 +0200 |
| commit | c7ba2e3cbb478d5337dc160610e4b05d062e8a03 (patch) | |
| tree | 299e667cb4d4d70cb456b5aabdd83ca7f6467dc8 | |
| parent | f5817c24f44aa90188757ddca1e5e63ba6f5df75 (diff) | |
Removed unnecessary branch in __mod__() from proxy class in lazy().
Unnecessary since c716fe87821df00f9f03ecc761c914d1682591a2 and
7b2f2e74adb36a4334e83130f6abc2f79d395235.
| -rw-r--r-- | django/utils/functional.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py index 2771851eae..4220cbc4b6 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -165,8 +165,6 @@ def lazy(func, *resultclasses): return hash(self.__cast()) def __mod__(self, rhs): - if self._delegate_text: - return str(self) % rhs return self.__cast() % rhs def __add__(self, other): |
