From 89ce50e7564bc573c048a7ff464b703c4aa8c757 Mon Sep 17 00:00:00 2001 From: Austin Bozowski Date: Fri, 27 May 2022 17:24:35 +0000 Subject: [PATCH] dedent and remove bundle placeholder --- examples/chef/chef.py | 7 ++++--- examples/chef/chef_util.py | 9 --------- 2 files changed, 4 insertions(+), 12 deletions(-) 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"]