Renamed deprecated logger.warn to warning

This commit is contained in:
Claude Paroz 2015-10-24 11:37:58 +02:00
parent 310049a5ae
commit 81fed5bc33
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class IncludeNode(Node):
if context.template.engine.debug:
raise
template_name = getattr(context, 'template_name', None) or 'unknown'
logger.warn(
logger.warning(
"Exception raised while rendering {%% include %%} for "
"template '%s'. Empty string rendered instead.",
template_name,