mirror of
https://github.com/Hopiu/django.git
synced 2026-04-05 15:41:05 +00:00
Removed unnecessary branch in __mod__() from proxy class in lazy().
Unnecessary sincec716fe8782and7b2f2e74ad.
This commit is contained in:
parent
f5817c24f4
commit
c7ba2e3cbb
1 changed files with 0 additions and 2 deletions
|
|
@ -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 a new issue