dexter has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/84/42184/1

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)

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/42184?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I2540472a50b7a49b5a67d088cbdd4a2228eef8f4
Gerrit-Change-Number: 42184
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>

Reply via email to