Remove erroneous set of status_code causing a traceback in module uri

Fixes #7416
pull/7429/merge
James Cammarata 11 years ago
parent a992dc88ba
commit e3ee7787ed

@ -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)

Loading…
Cancel
Save