From 7d6bb83cea7f83495f22f0da30a331f76d674bf7 Mon Sep 17 00:00:00 2001 From: Terence Hampson Date: Fri, 18 Nov 2022 14:01:27 +0000 Subject: [PATCH] Address PR comments --- src/controller/python/chip/yaml/format_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/python/chip/yaml/format_converter.py b/src/controller/python/chip/yaml/format_converter.py index 88d196fbfdf942..f6402c59706058 100644 --- a/src/controller/python/chip/yaml/format_converter.py +++ b/src/controller/python/chip/yaml/format_converter.py @@ -31,7 +31,7 @@ def convert_yaml_octet_string_to_bytes(s: str) -> bytes: # Step 2: convert non-hex-prefixed to bytes # TODO(#23669): This does not properly support utf8 octet strings. We mimic - # javascript codegen behavior. Behavior or javascript is: + # javascript codegen behavior. Behavior of javascript is: # * Octet string character >= u+0200 errors out. # * Any character greater than 0xFF has the upper bytes chopped off. as_bytes = [ord(c) for c in s]