]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
binman: Fix SyntaxWarning: invalid escape sequence '\('
authorRong Tao <rongtao@cestc.cn>
Tue, 5 Sep 2023 11:41:04 +0000 (19:41 +0800)
committerSimon Glass <sjg@chromium.org>
Sat, 23 Sep 2023 15:00:37 +0000 (09:00 -0600)
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>
tools/binman/etype/section.py

index fb49e85a7634d42a6b5178f22c835a2927b0c3de..30c1041c7e8d0a38219b08ff5d3412c7f1d4a082 100644 (file)
@@ -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