Change in osmo-gsm-tester[master]: srslte_common: fix condition to check if KPI have already extracted

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
Tue Mar 16 16:47:01 UTC 2021


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


Change subject: srslte_common: fix condition to check if KPI have already extracted
......................................................................

srslte_common: fix condition to check if KPI have already extracted

Change-Id: I6fdcbfadfdcfe131096d0345d2c21c87f8f7b1b6
---
M src/osmo_gsm_tester/obj/srslte_common.py
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/osmo_gsm_tester/obj/srslte_common.py b/src/osmo_gsm_tester/obj/srslte_common.py
index cbc360f..aa41cd2 100644
--- a/src/osmo_gsm_tester/obj/srslte_common.py
+++ b/src/osmo_gsm_tester/obj/srslte_common.py
@@ -65,7 +65,7 @@
         ''' Use the srsLTE KPI analyzer module (part of srsLTE.git) if available to collect KPIs '''
 
         # Make sure this only runs once
-        if self.csv_kpi is not None or self.log_kpi is not None or self.stdout_kpi is not None:
+        if self.csv_kpi is not None and self.log_kpi is not None and self.stdout_kpi is not None:
             return
 
         # Start with empty KPIs

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23385
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: I6fdcbfadfdcfe131096d0345d2c21c87f8f7b1b6
Gerrit-Change-Number: 23385
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/20210316/a0b9aa46/attachment.htm>


More information about the gerrit-log mailing list