Fixed #24045 -- Removed useless mark_safe() call in trans_null.py

This commit is contained in:
Tim Graham 2014-12-24 07:53:06 -05:00
parent ffa548fb56
commit 3325ec869c
1 changed files with 0 additions and 3 deletions

View File

@ -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