From f2b93b509c174ba5e2c82fc4e88537bad0996577 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Thu, 24 Aug 2017 01:48:29 +0500 Subject: Removed unneeded iter() calls. A few of these were unnecessarily added in 2b281cc35ed9d997614ca3c416928d7fabfef1ad. --- django/template/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/template/base.py') diff --git a/django/template/base.py b/django/template/base.py index 9ceba80dae..6572eae8ab 100644 --- a/django/template/base.py +++ b/django/template/base.py @@ -320,7 +320,7 @@ class Token: def split_contents(self): split = [] - bits = iter(smart_split(self.contents)) + bits = smart_split(self.contents) for bit in bits: # Handle translation-marked template pieces if bit.startswith(('_("', "_('")): -- cgit v1.3