[PATCH] osmo-gsm-tester[master]: sms: log info as dbg

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Sat May 6 21:45:43 UTC 2017


Review at  https://gerrit.osmocom.org/2504

sms: log info as dbg

Change-Id: Ia9ae0fa63a96a541e7d66cf0d8a9032b135760e6
---
M src/osmo_gsm_tester/ofono_client.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/04/2504/1

diff --git a/src/osmo_gsm_tester/ofono_client.py b/src/osmo_gsm_tester/ofono_client.py
index 77ea4c7..bf7b1d5 100644
--- a/src/osmo_gsm_tester/ofono_client.py
+++ b/src/osmo_gsm_tester/ofono_client.py
@@ -173,12 +173,14 @@
 
     def _on_incoming_message(self, message, info):
         self.log('Incoming SMS:', repr(message))
+        self.dbg(info=info)
         self.sms_received_list.append((message, info))
 
     def sms_was_received(self, sms):
         for msg, info in self.sms_received_list:
             if sms.matches(msg):
                 self.log('SMS received as expected:', repr(msg))
+                self.dbg(info=info)
                 return True
         return False
 

-- 
To view, visit https://gerrit.osmocom.org/2504
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9ae0fa63a96a541e7d66cf0d8a9032b135760e6
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list