aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/osmo_ctrl.py
diff options
context:
space:
mode:
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