mirror of https://github.com/ansible/ansible.git
[cloud][aws] Use `with` statement for file rw in EC2 dynamic inventory (#21390)
* Use with statement when doing rw on files * Deserialize file-like object directly instead of a string For python 2/3 compatibility reasons, per PR feedback.pull/20457/head
parent
a077aeb693
commit
413dfa7273
Loading…
Reference in New Issue