Skip to content

Commit

Permalink
Missed a spot in wget that needed no-check-cert
Browse files Browse the repository at this point in the history
[BFB]
  • Loading branch information
jgfouca committed May 2, 2019
1 parent 9057073 commit 95fba2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/CIME/Servers/wget.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, address, user='', passwd=''):

def fileexists(self, rel_path):
full_url = os.path.join(self._server_loc, rel_path)
stat, out, err = run_cmd("wget {} --spider {}".format(self._args, full_url))
stat, out, err = run_cmd("wget {} --no-check-certificate --spider {}".format(self._args, full_url))
if (stat != 0):
logging.warning("FAIL: Repo '{}' does not have file '{}'\nReason:{}\n{}\n".format(self._server_loc, full_url, out.encode('utf-8'), err.encode('utf-8')))
return False
Expand Down

0 comments on commit 95fba2b

Please sign in to comment.