Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Bug 1161794 - Do not pass nonexistent --authentication-file, r=armenzg
Browse files Browse the repository at this point in the history
  • Loading branch information
hotsphink committed May 5, 2015
1 parent b0081a1 commit e4251ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mozharness/mozilla/tooltool.py
Expand Up @@ -51,7 +51,8 @@ def tooltool_fetch(self, manifest, bootstrap_cmd=None,
cmd = [tooltool[0]]
else:
cmd = [self._fetch_tooltool_py()]
cmd.extend(["--authentication-file", get_credentials_path()])
if os.path.exists(get_credentials_path()):
cmd.extend(["--authentication-file", get_credentials_path()])
else:
cmd = tooltool

Expand Down

0 comments on commit e4251ce

Please sign in to comment.