o nnh @s8ddlmZddlZddlmZddZddZdZdS) ) annotationsN) deprecatecCstdddtdS)a8Get the current exception. This code needs to work on Python 2.4 through 3.x, so we cannot use "except Exception, e:" (SyntaxError on Python 3.x) nor "except Exception as e:" (SyntaxError on Python 2.4-2.5). Instead we must use :: except Exception: e = get_exception() zKThe `ansible.module_utils.pycompat24.get_exception` function is deprecated.2.19msgversion)rsysexc_infor r J/usr/local/lib/python3.10/dist-packages/ansible/module_utils/pycompat24.py get_exception$s   r cCsB|dkrtd|dddddlm}|Std|d td ) z>Inject import-time deprecation warning for ``literal_eval()``. literal_evalz%The `ansible.module_utils.pycompat24.z` function is deprecated.rrr)rzcannot import name z has no attribute ())rastrAttributeError__file__)importable_namerr r r __getattr__8s r)r r) __future__rr $ansible.module_utils.common.warningsrr r__all__r r r r s