mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-30 00:21:23 -07:00
[PR #9695/191a4d8f backport][stable-10] xml: ensure the stream object is closed in main() (#9712)
xml: ensure the stream object is closed in main() (#9695)
* ensure the stream object is closed in main()
* add changelog frag
* Update plugins/modules/xml.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/xml.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 191a4d8f63
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
c2590cfcd8
commit
e49775765d
2 changed files with 29 additions and 22 deletions
2
changelogs/fragments/9695-xml-close-file.yml
Normal file
2
changelogs/fragments/9695-xml-close-file.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- xml - ensure file descriptor is closed (https://github.com/ansible-collections/community.general/pull/9695).
|
Loading…
Add table
Add a link
Reference in a new issue