Commit ee4bf88e authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Avoid deprecated string concatenation.

parent cb8b86c1
......@@ -731,8 +731,7 @@ class Environment(object):
from the function unchanged.
if not names:
raise TemplatesNotFound(message=u'Tried to select from an empty list '
u'of templates.')
raise TemplatesNotFound(message='Tried to select from an empty list of templates.')
globals = self.make_globals(globals)
for name in names:
if isinstance(name, Template):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment