From f4914d86b0f24568884817573f09b5e5d32675c2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 3 Dec 2023 18:02:43 +0000 Subject: [PATCH] project standard is to use c standard string specifiers NOT format NOT php-style "f" --- src/openpower/decoder/power_pseudo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/power_pseudo.py b/src/openpower/decoder/power_pseudo.py index 0bcaa634..f0504a29 100644 --- a/src/openpower/decoder/power_pseudo.py +++ b/src/openpower/decoder/power_pseudo.py @@ -365,7 +365,7 @@ def test(): def process(): for ins in instr: - log("0x{:X}".format(ins & 0xffffffff)) + log("0x%x" % (ins & 0xffffffff)) # ask the decoder to decode this binary data (endian'd) yield decode.bigendian.eq(0) # little / big? -- 2.30.2