mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c4ad0f86c7
Output of `yum check-update` can contain lines with long package names and long repository label names, which will be broken into multiple lines, which need to be sanitized. The solution to this has been fixed and refactored in 2.3 in form of parse_check_update(), but it still contains subtle bug, which makes such multi-lines invisible to later logic (such packages aren't included in parse_check_update()) output. The problem is caused by using '\1' in re.sub(), instead of proper r'\1', which literally puts unicode symbol \1 into resulting output. |
||
---|---|---|
.. | ||
ansible |