mirror of https://github.com/ansible/ansible.git
Improve code stability is checksum checking
- use context manager for dealing with the checksum file
- use loop that can tolerate zero, one, or more items return rather than the previous expression which would break if anything other than exactly one item was returned
(cherry picked from commit 03dbb1d9c4
)
squash
pull/46706/head
parent
62b43ea28d
commit
d9bd76dc8a
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- get_url - improve code that parses checksums from a file so it is not fragile and reports a helpful error when no matching checksum is found
|
Loading…
Reference in New Issue