mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-23 20:44:00 -07:00
* templar: ensure that exceptions are handled
* Fix AttributeError: object has no attribute 'message'
'message' attribute is deprecated since Python 2.6 and not available
with Python 3.
Simple reproducer:
- hosts: localhost
vars:
not_json: "{{ 'test str' | from_json }}"
tasks:
- command: "echo {{ not_json }}"
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_safe_eval.py | ||
| test_templar.py | ||
| test_template_utilities.py | ||
| test_tests_as_filters_warning.py | ||
| test_vars.py | ||