diff --git a/examples/chef/chef.py b/examples/chef/chef.py index 20bda125cb88f2..ad12b9a7e94935 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -212,9 +212,9 @@ def main(argv: Sequence[str]) -> None: else: with open(device_md5_file, "r", encoding="utf-8") as md5_file: md5 = md5_file.read() - if ci_manifest[device] != md5 - print("MISMATCH OUTPUT - Cached files out of date. Please run chef with the flag --generate_zzz and commit /examples/chef/zzz_generated and /examples/chef/cimanifes.json") - exit(1) + if ci_manifest[device] != md5: + print("MISMATCH OUTPUT - Cached files out of date. Please run chef with the flag --generate_zzz and commit /examples/chef/zzz_generated and /examples/chef/cimanifes.json") + exit(1) except KeyError: print("MISSING DEVICE CACHE - Cached files out of date. Please run chef with the flag --generate_zzz and commit /examples/chef/zzz_generated and /examples/chef/cimanifes.json") exit(1)