summaryrefslogtreecommitdiff
path: root/django/utils/translation/trans_null.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-12-24 07:53:06 -0500
committerTim Graham <timograham@gmail.com>2014-12-26 07:42:49 -0500
commit3325ec869c10aba0fcb52c826d79633818c14dbc (patch)
treee86d87203b20479481b257c36d8569b7d89abc24 /django/utils/translation/trans_null.py
parentffa548fb561d4e32b42566cc67a2499a5e321944 (diff)
Fixed #24045 -- Removed useless mark_safe() call in trans_null.py
Diffstat (limited to 'django/utils/translation/trans_null.py')
-rw-r--r--django/utils/translation/trans_null.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/django/utils/translation/trans_null.py b/django/utils/translation/trans_null.py
index fa4f0af668..cb909c63f7 100644
--- a/django/utils/translation/trans_null.py
+++ b/django/utils/translation/trans_null.py
@@ -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