Bug 1186987 - If file_path is None do not check if it is an executable. DONTBUILD. r=jlund

This commit is contained in:
Armen Zambrano Gasparnian 2015-07-24 11:03:03 -04:00
parent c75816cda9
commit 616fee9f0c

View File

@ -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)