laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/42184?usp=email )
Change subject: contrib/smpp-ota-tool/cosmetic: use lazy formatting for logging ......................................................................
contrib/smpp-ota-tool/cosmetic: use lazy formatting for logging
Change-Id: I2540472a50b7a49b5a67d088cbdd4a2228eef8f4 Related: OS#6868 --- M contrib/smpp-ota-tool.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/contrib/smpp-ota-tool.py b/contrib/smpp-ota-tool.py index f667f84..353f5b5 100755 --- a/contrib/smpp-ota-tool.py +++ b/contrib/smpp-ota-tool.py @@ -141,7 +141,7 @@ tuple containing the last response data and the last status word as byte strings """
- logger.info("C-APDU sending: %s..." % b2h(apdu)) + logger.info("C-APDU sending: %s...", b2h(apdu))
# translate to Secured OTA RFM secured = self.ota_dialect.encode_cmd(self.ota_keyset, self.tar, self.spi, apdu=apdu)