mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
Bug 1186987 - If file_path is None do not check if it is an executable. DONTBUILD. r=jlund
This commit is contained in:
parent
b24bd973bd
commit
15d0a4b27a
@ -49,10 +49,9 @@ class VCSToolsScript(VCSScript):
|
||||
if type(self.query_exe(vcs_tool)) is list:
|
||||
continue
|
||||
|
||||
if not self.is_exe(file_path):
|
||||
self.critical("%s is not executable." % file_path)
|
||||
|
||||
if file_path is None:
|
||||
self.fatal("This machine is missing %s, if this is your "
|
||||
"local machine you can use --cfg "
|
||||
"developer_config.py" % vcs_tool)
|
||||
elif not self.is_exe(file_path):
|
||||
self.critical("%s is not executable." % file_path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user