1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00

ansible-core 2.20: avoid deprecated functionality (#10687)

Avoid deprecated functionality.
This commit is contained in:
Felix Fontein 2025-08-18 06:25:23 +02:00 committed by GitHub
parent ceba0cbedb
commit 47e8a3c193
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 23 additions and 21 deletions

View file

@ -94,7 +94,7 @@ EXAMPLES = r"""
from re import compile as re_compile
from ansible.plugins.become import BecomeBase
from ansible.module_utils._text import to_bytes
from ansible.module_utils.common.text.converters import to_bytes
ansi_color_codes = re_compile(to_bytes(r'\x1B\[[0-9;]+m'))