Skip to content

Commit

Permalink
Restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed May 26, 2022
1 parent e24916f commit c1724ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def main(argv: Sequence[str]) -> None:
print(f"Generating files in {_CHEF_ZZZ_ROOT} for all devices", flush=True)
for device_dir_item in os.listdir(_CHEF_DEVICES_DIR):
target_file_ext = ".zap"
if device_dir_item.endswith(target_file_ext): # and device_dir_item in chef_util.ci_allowlist:
if device_dir_item.endswith(target_file_ext): # and device_dir_item in chef_util.ci_allowlist:
device_name = device_dir_item[:-len(target_file_ext)]
print(f"Generating files for {device_name}", flush=True)
device_out_dir = os.path.join(_CHEF_ZZZ_ROOT, device_name)
Expand Down
2 changes: 1 addition & 1 deletion examples/chef/chef_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def generate_device_manifest(chef_devices_dir: str, include_zap_submod: bool = F
ci_manifest = {}
for device_dir_item in os.listdir(chef_devices_dir):
target_file_ext = ".zap"
if device_dir_item.endswith(target_file_ext): # and device_dir_item in ci_allowlist:
if device_dir_item.endswith(target_file_ext): # and device_dir_item in ci_allowlist:
device_name = device_dir_item[:-len(target_file_ext)]
device_file_path = os.path.join(chef_devices_dir, device_dir_item)
with open(device_file_path, "rb") as device_file:
Expand Down

0 comments on commit c1724ec

Please sign in to comment.