mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
pybootchartgui: mark a regex as a raw string
Otherwise Python tries to unescape the \s and warns that it can't. (From OE-Core rev: 45435a18f6ce665eba5b2e708a72a4f596deb017) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
efbd99e462
commit
ac05e72f87
@@ -844,7 +844,7 @@ def draw_header (ctx, headers, duration):
|
||||
toshow = [
|
||||
('system.uname', 'uname', lambda s: s),
|
||||
('system.release', 'release', lambda s: s),
|
||||
('system.cpu', 'CPU', lambda s: re.sub('model name\s*:\s*', '', s, 1)),
|
||||
('system.cpu', 'CPU', lambda s: re.sub(r'model name\s*:\s*', '', s, 1)),
|
||||
('system.kernel.options', 'kernel options', lambda s: s),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user