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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18057 ) Change subject: rfemu_amarisoftctrl: import websocket module on first use ...................................................................... rfemu_amarisoftctrl: import websocket module on first use Change-Id: I568af52ffb7ac57222697f5d861a532c0e2a70de --- M src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved diff --git a/src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py b/src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py index 87e4cbd..6ef25bb 100644 --- a/src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py +++ b/src/osmo_gsm_tester/obj/rfemu_amarisoftctrl.py @@ -18,7 +18,6 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. import json -from websocket import create_connection from ..core import log from .rfemu import RFemulation @@ -40,6 +39,8 @@ self.cell_id = conf.get('cell_id') if self.cell_id is None: raise log.Error('No "cell_id" attribute provided in supply conf!') + + from websocket import create_connection self.ws = create_connection("ws://%s:%s" % (self.addr, self.port)) def __del__(self): -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18057 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: I568af52ffb7ac57222697f5d861a532c0e2a70de Gerrit-Change-Number: 18057 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200505/f986ef26/attachment.htm>