Remove erroneous set of status_code causing a traceback in module uri

Fixes #7416
reviewable/pr18780/r1
James Cammarata 11 years ago
parent 332909a956
commit a9c2eefd06

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