mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08:00
docs: trace: decode_msr.py: make it compatible with python 3
This script uses print <foo> instead of print(foo), which is incompatible with Python 3. Fix it. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/88bb0d47100feaa3cda215e68bf6500dc67da7b3.1739257245.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
committed by
Jonathan Corbet
parent
df60e52905
commit
6a0c4b61e1
@@ -32,6 +32,6 @@ for j in sys.stdin:
|
||||
break
|
||||
if r:
|
||||
j = j.replace(" " + m.group(2), " " + r + "(" + m.group(2) + ")")
|
||||
print j,
|
||||
print(j)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user