From: Rong Tao Date: Tue, 5 Sep 2023 11:41:04 +0000 (+0800) Subject: binman: Fix SyntaxWarning: invalid escape sequence '\(' X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~8^2~5 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=d07e53f553717fcca2bf64bac683fe4ad77f0e67;p=uboot.git binman: Fix SyntaxWarning: invalid escape sequence '\(' Reproduct warning: $ git clean -dfx $ make CROSS_COMPILE="" qemu-x86_64_defconfig $ make -j8 ... u-boot/tools/binman/etype/section.py:25: SyntaxWarning: invalid escape sequence '\(' """Entry that contains other entries Signed-off-by: Rong Tao --- diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py index fb49e85a76..30c1041c7e 100644 --- a/tools/binman/etype/section.py +++ b/tools/binman/etype/section.py @@ -40,7 +40,7 @@ class Entry_section(Entry): For example code, see etypes which subclass `Entry_section`, or `cbfs.py` for a more involved example:: - $ grep -l \(Entry_section tools/binman/etype/*.py + $ grep -l \\(Entry_section tools/binman/etype/*.py ReadNode() Call `super().ReadNode()`, then read any special properties for the