[PATCH] osmo-gsm-tester[master]: modem: Include serial attribute in info()

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Sep 5 17:10:03 UTC 2017


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

modem: Include serial attribute in info()

Change-Id: Ifd490942ecc8ecfd0f799ed241a53d45f5870b30
---
M src/osmo_gsm_tester/ofono_client.py
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/src/osmo_gsm_tester/ofono_client.py b/src/osmo_gsm_tester/ofono_client.py
index 43aa091..3958b5e 100644
--- a/src/osmo_gsm_tester/ofono_client.py
+++ b/src/osmo_gsm_tester/ofono_client.py
@@ -549,7 +549,7 @@
                 return True
         return False
 
-    def info(self, keys=('Manufacturer', 'Model', 'Revision')):
+    def info(self, keys=('Manufacturer', 'Model', 'Revision', 'Serial')):
         props = self.properties()
         return ', '.join(['%s: %r'%(k,props.get(k)) for k in keys])
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd490942ecc8ecfd0f799ed241a53d45f5870b30
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list