take every opportunity *not* to go onto a separate line with commas
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 3 Dec 2023 10:11:28 +0000 (10:11 +0000)
committerJacob Lifshay <programmerjake@gmail.com>
Mon, 4 Dec 2023 06:32:30 +0000 (22:32 -0800)
commita1edfec3223092d2dc5fd652af678caaa2b2429e
tree2e04e6192e7dfc37127d10818130d771ab1ac52d
parent9686b84e9af30624fb11b855c7e4e41f58fdff1a
take every opportunity *not* to go onto a separate line with commas

bad:
-        log("is priv", instr_is_privileged, hex(self.msr.value),
-            self.msr[MSRb.PR])

good:
-        if instr_is_privileged and self.msr[MSRb.PR] == 1:
+        PR = self.msr[MSRb.PR]
+        log("is priv", instr_is_privileged, hex(self.msr.value), PR)
+        if instr_is_privileged and PR == 1:
src/openpower/decoder/isa/caller.py