mirror of https://github.com/ansible/ansible.git
Attempt 2: Catch errors getting filters and tests (#76806)
parent
374720fc97
commit
9f46f6eb30
@ -0,0 +1,5 @@
|
||||
bugfixes:
|
||||
- Templating - Ensure we catch exceptions when getting ``.filters`` and
|
||||
``.tests`` attributes on their respective plugins and properly error,
|
||||
instead of aborting which results in no filters being added to the
|
||||
jinja2 environment
|
||||
@ -0,0 +1,10 @@
|
||||
# Copyright (c) 2021 Matt Martz <matt@sivel.net>
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
# Make coding more python3-ish
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
|
||||
class FilterModule:
|
||||
pass
|
||||
Loading…
Reference in New Issue