diff options
| author | Rong Tao <rongtao@cestc.cn> | 2023-09-05 19:41:04 +0800 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2023-09-23 09:00:37 -0600 |
| commit | ba4034a5045cc318874030fdc442cc2e26dba99f (patch) | |
| tree | 6362b41da1a0257547400c13abc51fba6ee91d54 /tools | |
| parent | 305114eb839400bfbad48182b12421dfb8150122 (diff) | |
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>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/binman/etype/section.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py index fb49e85a763..30c1041c7e8 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 |
