mirror of
https://github.com/django/django.git
synced 2025-09-28 04:54:53 +00:00
Fixed #24045 -- Removed useless mark_safe() call in trans_null.py
This commit is contained in:
parent
ffa548fb56
commit
3325ec869c
1 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@
|
|||
|
||||
from django.conf import settings
|
||||
from django.utils.encoding import force_text
|
||||
from django.utils.safestring import mark_safe, SafeData
|
||||
|
||||
|
||||
def ngettext(singular, plural, number):
|
||||
|
@ -33,8 +32,6 @@ check_for_language = lambda x: True
|
|||
|
||||
|
||||
def gettext(message):
|
||||
if isinstance(message, SafeData):
|
||||
return mark_safe(message)
|
||||
return message
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue