From 6b4584d0044a9397fe19e73e9830343775d79cd7 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 16 May 2014 08:46:59 -0500 Subject: [PATCH] Remove erroneous set of status_code causing a traceback in module uri Fixes #7416 --- library/network/uri | 1 - 1 file changed, 1 deletion(-) diff --git a/library/network/uri b/library/network/uri index b8b9b04ab9c..55fd34d0d00 100644 --- a/library/network/uri +++ b/library/network/uri @@ -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)