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)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 3 Dec 2023 10:11:28 +0000 (10:11 +0000)
commit0da8f403aa06c154c06010ad293ca8e3160d274f
tree763359e9a7ab927abd92131016fa67c1837fbfdb
parentca1a0b0061f287c615f45b61ea9f6a70e38ccf69
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