Change in osmo-gsm-tester[master]: ms_srs: fix additional_args init

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

srs_andre gerrit-no-reply at lists.osmocom.org
Mon Jun 15 20:13:54 UTC 2020


srs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18843 )


Change subject: ms_srs: fix additional_args init
......................................................................

ms_srs: fix additional_args init

regressions after porting to list. init to new empty list

Change-Id: I06f370462934ca35f3aa13bbfcd9e5fc3df91895
---
M src/osmo_gsm_tester/obj/ms_srs.py
1 file changed, 1 insertion(+), 2 deletions(-)



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

diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py
index 6241685..cf2e166 100644
--- a/src/osmo_gsm_tester/obj/ms_srs.py
+++ b/src/osmo_gsm_tester/obj/ms_srs.py
@@ -230,11 +230,10 @@
         self.enable_pcap = util.str2bool(values['ue'].get('enable_pcap', 'false'))
         config.overlay(values, dict(ue={'enable_pcap': self.enable_pcap}))
 
-        self._additional_args = values['ue'].get('additional_args', '').split()
+        self._additional_args = []
         for add_args in values['ue'].get('additional_args', []):
             self._additional_args += add_args.split()
 
-
         self.num_carriers = int(values['ue'].get('num_carriers', 1))
 
         # We need to set some specific variables programatically here to match IP addresses:

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18843
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I06f370462934ca35f3aa13bbfcd9e5fc3df91895
Gerrit-Change-Number: 18843
Gerrit-PatchSet: 1
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200615/c50807e9/attachment.htm>


More information about the gerrit-log mailing list