diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2021-10-11 16:28:48 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-13 09:42:01 +0100 |
commit | 433201369e3d8336335d052eea32fe64e811f6e6 (patch) | |
tree | 12cf4dbc1cf145b7d47d8f09bd808f405feabbd1 /meta/classes/sign_ipk.bbclass | |
parent | 97bce4f410aa13a6a3414319cada690eff352384 (diff) | |
download | poky-433201369e3d8336335d052eea32fe64e811f6e6.tar.gz |
packagedata.py: silence a DeprecationWarning
Use regex strings (r’’) to silence below deprecation warning [1]:
$ cat tmp/work/intel_x86_64-wrs-linux/linux-yocto/5.10.x+gitAUTOINC+917c420111_373c02c3ca-r0/temp/log.do_deploy
[snip]
/build/layers/oe-core/meta/lib/oe/packagedata.py:22: DeprecationWarning: invalid escape sequence \s
r = re.compile("(^.+?):\s+(.*)")
[snip]
[1] https://docs.python.org/3/library/re.html
(From OE-Core rev: b5b70cba70067466da5e94f69632a2a029203838)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sign_ipk.bbclass')
0 files changed, 0 insertions, 0 deletions