Merge "Fix value undefined error: "fetch_url_and_verify""
authorVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>
Tue, 11 Dec 2018 08:55:27 +0000 (08:55 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 11 Dec 2018 08:55:27 +0000 (08:55 +0000)
ansible/library/fetch_url_and_verify.py

index 77ff916..13e8608 100644 (file)
@@ -44,6 +44,7 @@ def main():
     dest = params['dest']
     sha256url = params['sha256url']
     retries = params['retries']
+    sha256line = ''
 
     image_dir, image_filename = os.path.split(dest)
     rc, stdout, stderr = module.run_command(['curl', '-sS', sha256url])