On Tue, Feb 20, 2024 at 08:52:48AM -0500, Tom Rini wrote:

> From: Florian Schmaus <f...@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 <f...@geekplace.eu>
> Reviewed-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to