From 7299fd7c90b85b159e6559d0bd180484479606fb Mon Sep 17 00:00:00 2001 From: Austin Bozowski Date: Fri, 27 May 2022 20:07:36 +0000 Subject: [PATCH] Reference --- examples/chef/chef.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/chef/chef.py b/examples/chef/chef.py index 6e49eefbb98e4b..31e4993a4e4978 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -237,7 +237,7 @@ def main(argv: Sequence[str]) -> None: parser.add_option("", "--build_all", help="For use in CD only. Builds and bundles all chef examples for the specified platform. Uses --use_zzz. Chef exits after completion.", dest="build_all", action="store_true") parser.add_option( - "", "--ci", help="Builds Chef examples defined in chef_util.ci_allowlist. Uses --use_zzz. Uses specified target from -t. Chef exits after completion.", dest="ci", action="store_true") + "", "--ci", help="Builds Chef examples defined in _CI_ALLOW_LIST. Uses --use_zzz. Uses specified target from -t. Chef exits after completion.", dest="ci", action="store_true") options, _ = parser.parse_args(argv) @@ -249,7 +249,7 @@ def main(argv: Sequence[str]) -> None: if options.validate_zzz: fix_instructions = "Cached files out of date. Please bootstrap, activate, install zap, run chef with the flag --generate_zzz and commit /examples/chef/zzz_generated and /examples/chef/cimanifes.json. Ensure you are running with the latest version of ZAP from master" - ci_manifest = chef_util.generate_device_manifest(_CHEF_DEVICES_DIR) + ci_manifest = generate_device_manifest(_CHEF_DEVICES_DIR) with open(_CI_MANIFEST_FILE_NAME, "r", encoding="utf-8") as ci_manifest_file: cached_manifest = json.loads(ci_manifest_file.read()) for device in _CI_MANIFEST: @@ -328,8 +328,8 @@ def main(argv: Sequence[str]) -> None: {_CHEF_SCRIPT_PATH}/devices/{device_name}.zap -o {device_out_dir} """)) shell.run_cmd(f"touch {device_out_dir}/af-gen-event.h") - chef_util.generate_device_manifest(include_zap_submod=True, - write_manifest_file=True) + generate_device_manifest(include_zap_submod=True, + write_manifest_file=True) exit(0) #