mirror of https://github.com/ansible/ansible.git
(cherry picked from commit 9f46f6eb30)
Co-authored-by: Matt Martz <matt@sivel.net>
pull/76816/head
parent
dd2e695c93
commit
3ded47c3d3
@ -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