summaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/osmo_ctrl.py
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-04-10 03:45:30 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-04-10 05:09:23 +0200
commit5356d0adcef703dc965b03028e6c9a4afd23fb79 (patch)
tree8ca2a85ac637c0e6fca74120145e735ac4be6c91 /src/osmo_gsm_tester/osmo_ctrl.py
parent85eb324165a8f4076fdd58f9d84b6c0443b5beb9 (diff)
trying to get sysmobts to work and various details
I know that these commit messages aren't very good, but the code is not stable yet, so I'm not bothering with details. Change-Id: I2d5e5f4a5407725d71093cbd71ef97b271eb8197
Diffstat (limited to 'src/osmo_gsm_tester/osmo_ctrl.py')
-rw-r--r--src/osmo_gsm_tester/osmo_ctrl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/osmo_ctrl.py b/src/osmo_gsm_tester/osmo_ctrl.py
index c3a09db..736c943 100644
--- a/src/osmo_gsm_tester/osmo_ctrl.py
+++ b/src/osmo_gsm_tester/osmo_ctrl.py
@@ -79,10 +79,12 @@ class OsmoCtrl(log.Origin):
self._send(getmsg)
def __enter__(self):
+ super().__enter__()
self.connect()
return self
def __exit__(self, *exc_info):
self.disconnect()
+ super().__exit__(*exc_info)
# vim: expandtab tabstop=4 shiftwidth=4