mirror of https://github.com/django/django.git
Removed unnecessary branch in __mod__() from proxy class in lazy().
Unnecessary sincec716fe8782
and7b2f2e74ad
.
This commit is contained in:
parent
f5817c24f4
commit
c7ba2e3cbb
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue