Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #58 from msabramo/issue-57

Remove useless warning: `DeprecationWarning: reload_templates setting is deprecated, use pyramid.reload_templates instead.`
  • Loading branch information...
commit 0fc436880bc3f0843121edf44ebf8f94ec33db67 2 parents eac5f96 + e5bc22a
@domenkozar domenkozar authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 pyramid_jinja2/__init__.py
View
7 pyramid_jinja2/__init__.py
@@ -258,13 +258,6 @@ def _get_or_build_default_environment(registry):
if reload_templates is None:
# since version 1.5, both settings are supported
reload_templates = settings.get('pyramid.reload_templates', False)
- else:
- warnings.warn(
- 'reload_templates setting is deprecated, use '
- 'pyramid.reload_templates instead.',
- DeprecationWarning,
- 2,
- )
reload_templates = asbool(reload_templates)
undefined = parse_undefined(settings.get('jinja2.undefined', ''))

0 comments on commit 0fc4368

Please sign in to comment.
Something went wrong with that request. Please try again.