diff --git a/examples/chef/chef.py b/examples/chef/chef.py index f2982a3c442ac6..f010fc3cc0bd14 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -232,9 +232,10 @@ def main(argv: Sequence[str]) -> None: if sys.platform == "linux" or sys.platform == "linux2": print("Installing ZAP OS package dependencies") shell.run_cmd( - f"sudo apt-get install sudo apt-get install node node-yargs npm\ - libpixman-1-dev libcairo2-dev libpango1.0-dev node-pre-gyp libjpeg9-dev libgif\ --dev node-typescript") + textwrap.dedent(""" \ + sudo apt-get install sudo apt-get install node node-yargs npm \ + libpixman-1-dev libcairo2-dev libpango1.0-dev node-pre-gyp \ + libjpeg9-dev libgif-dev node-typescript \"""")) if sys.platform == "darwin": print("Installation of ZAP OS packages not supported on MacOS") if sys.platform == "win32": diff --git a/examples/chef/chef_util.py b/examples/chef/chef_util.py index 87ab87c8b3e4c6..e77234866a63b1 100644 --- a/examples/chef/chef_util.py +++ b/examples/chef/chef_util.py @@ -34,15 +34,6 @@ } -def bundle(platform: str): - if platform == 'linux': - pass - if platform == 'esp32': - pass - if platform == 'nrfconnect': - pass - - def check_zap_master(repo_base_path: str) -> str: """Produces hash of ZAP submodule in branch master""" git_cmd = ["git", "ls-tree", "master", "third_party/zap/repo"]