Bug 1415618: When looking for a downloaded mozharness config, only look where it was put. r=jlund

MozReview-Commit-ID: 7FfXXNzeeqW

--HG--
extra : rebase_source : 1187302a210365d74305521bb00e9376149e493b
This commit is contained in:
Tom Prince 2017-11-11 13:18:24 -07:00
parent 0235a0f965
commit fc654248b1

View File

@ -440,7 +440,7 @@ class BaseConfig(object):
file_path = os.path.join(os.getcwd(), file_name)
download_config_file(cf, file_path)
all_cfg_files_and_dicts.append(
(file_path, parse_config_file(file_path))
(file_path, parse_config_file(file_path, search_path=["."]))
)
else:
all_cfg_files_and_dicts.append((cf, parse_config_file(cf)))