summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong Tao <rongtao@cestc.cn>2023-09-05 14:41:04 +0300
committerSimon Glass <sjg@chromium.org>2023-09-23 18:00:37 +0300
commitba4034a5045cc318874030fdc442cc2e26dba99f (patch)
tree6362b41da1a0257547400c13abc51fba6ee91d54
parent305114eb839400bfbad48182b12421dfb8150122 (diff)
downloadu-boot-ba4034a5045cc318874030fdc442cc2e26dba99f.tar.xz
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 <rongtao@cestc.cn>
-rw-r--r--tools/binman/etype/section.py2
1 files changed, 1 insertions, 1 deletions
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