diff --git a/project.py b/project.py index 892b5f5b..bf37a0da 100644 --- a/project.py +++ b/project.py @@ -2875,7 +2875,14 @@ class Project: # We do not use curl's --retry option since it generally doesn't # actually retry anything; code 18 for example, it will not retry on. - cmd = ["curl", "--fail", "--output", tmpPath, "--netrc", "--location"] + cmd = [ + "curl", + "--fail", + "--output", + tmpPath, + "--netrc-optional", + "--location", + ] if quiet: cmd += ["--silent", "--show-error"] if os.path.exists(tmpPath):