From 8e9fdf5b4f9dfaee84665286c00b521c1f820b53 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 3 Dec 2023 18:08:36 +0000 Subject: [PATCH] project standard is to use c standard string specifiers NOT format NOT php-style "f" --- src/openpower/decoder/isa/test_caller_ldst_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/test_caller_ldst_exceptions.py b/src/openpower/decoder/isa/test_caller_ldst_exceptions.py index fa375226..0c5e68f4 100644 --- a/src/openpower/decoder/isa/test_caller_ldst_exceptions.py +++ b/src/openpower/decoder/isa/test_caller_ldst_exceptions.py @@ -55,7 +55,7 @@ def run_tst(generator, initial_regs, initial_sprs=None, svstate=0, mmu=False, yield Settle() ins, code = instructions[index] - print(" 0x{:X}".format(ins & 0xffffffff)) + print(" 0x%x" % (ins & 0xffffffff)) opname = code.split(' ')[0] print(code, opname) -- 2.30.2