summaryrefslogtreecommitdiff
path: root/django/utils/text.py
diff options
context:
space:
mode:
authorBaptiste Mispelon <bm@m2bpo.com>2013-04-10 10:43:19 +0200
committerClaude Paroz <claude@2xlibre.net>2013-04-10 13:05:29 +0200
commite7b9c11c3f87e235e643c340d38325fbd4257047 (patch)
tree06bd9bcfadd459f7a1f9e19f0059b43bebaf996b /django/utils/text.py
parent118faa0893957bff0ac34765fc9a66c586c4a932 (diff)
Fixed #20231 -- Don't use allow_lazy on smart_split
Diffstat (limited to 'django/utils/text.py')
-rw-r--r--django/utils/text.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/utils/text.py b/django/utils/text.py
index 02c3f10678..4fe92ab509 100644
--- a/django/utils/text.py
+++ b/django/utils/text.py
@@ -356,7 +356,6 @@ def smart_split(text):
text = force_text(text)
for bit in smart_split_re.finditer(text):
yield bit.group(0)
-smart_split = allow_lazy(smart_split, six.text_type)
def _replace_entity(match):
text = match.group(1)