
1 Mar
2024
1 Mar
'24
7:53 p.m.
On Tue, Feb 20, 2024 at 08:52:48AM -0500, Tom Rini wrote:
From: Florian Schmaus flo@geekplace.eu
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
Applied to u-boot/master, thanks!
--
Tom