1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove erroneous set of status_code causing a traceback in module uri

Fixes #7416
This commit is contained in:
James Cammarata 2014-05-16 08:46:59 -05:00
parent a992dc88ba
commit e3ee7787ed

View file

@ -406,7 +406,6 @@ def main():
# Write the file out if requested
if dest is not None:
if resp['status'] == 304:
status_code = 304
changed = False
else:
write_file(module, url, dest, content)