mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 07:56:38 +00:00
Remove temp checksum file (#45871)
This commit is contained in:
@@ -463,6 +463,7 @@ def main():
|
||||
checksum_tmpsrc, checksum_info = url_get(module, checksum_url, dest, use_proxy, last_mod_time, force, timeout, headers, tmp_dest)
|
||||
with open(checksum_tmpsrc) as f:
|
||||
lines = [line.rstrip('\n') for line in f]
|
||||
os.remove(checksum_tmpsrc)
|
||||
lines = dict(s.split(None, 1) for s in lines)
|
||||
filename = url_filename(url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user