Remove erroneous set of status_code causing a traceback in module uri

Fixes #7416
pull/7527/head
James Cammarata 11 years ago
parent cb0842ab49
commit 6b4584d004

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

Loading…
Cancel
Save