diff options
author | Florian Schmaus <flo@geekplace.eu> | 2024-02-20 08:52:48 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-03-01 09:53:47 -0500 |
commit | d4c84d7062ecd739de8ed509782f52ddb9109f32 (patch) | |
tree | 3e8c0a0b8719fc16c5d71aa6eebb765c1232420a /arch/arm/dts/sun7i-a20-m5.dts | |
parent | 72703c7a0dd8ede6c98d13152fc1ebd3da4bc128 (diff) | |
download | u-boot-d4c84d7062ecd739de8ed509782f52ddb9109f32.tar.gz u-boot-d4c84d7062ecd739de8ed509782f52ddb9109f32.tar.bz2 u-boot-d4c84d7062ecd739de8ed509782f52ddb9109f32.zip |
pylibfdt: Fix "invalid escape sequence '\w'" in setup.py
Once u-boot's build system invokes
python3 scripts/dtc/pylibfdt/setup.py --quiet build_ext --inplace
it may fail with
scripts/dtc/pylibfdt/setup.py:40: SyntaxWarning: invalid escape sequence '\w'
RE_KEY_VALUE = re.compile('(?P<key>\w+) *(?P<plus>[+])?= *(?P<value>.*)$')
depending on the used Python version.
Explicitly mark the regex string as raw string to avoid the warning.
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'arch/arm/dts/sun7i-a20-m5.dts')
0 files changed, 0 insertions, 0 deletions