summaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/process.py
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-03-28 19:17:34 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-04-04 12:38:09 +0200
commit9a4631c789b1a141a95ae39c92372e9b00b77239 (patch)
tree86258965a04626310ebf08dae637b58cf359ee85 /src/osmo_gsm_tester/process.py
parentbf176e420ee20e526fc408a8a16d4dc7811ce703 (diff)
Drop event_loop global functions and import MainLoop
Take the chance to identify and drop modules importing event_loop but not using it. Change-Id: Ifa1940cd00138ebc72fbcfd45a0e28246f7a5ed9
Diffstat (limited to 'src/osmo_gsm_tester/process.py')
-rw-r--r--src/osmo_gsm_tester/process.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo_gsm_tester/process.py b/src/osmo_gsm_tester/process.py
index 4c55fe9..8ae6a55 100644
--- a/src/osmo_gsm_tester/process.py
+++ b/src/osmo_gsm_tester/process.py
@@ -23,7 +23,8 @@ import subprocess
import signal
from datetime import datetime
-from . import log, event_loop
+from . import log
+from .event_loop import MainLoop
from .util import Dir
class Process(log.Origin):
@@ -204,7 +205,7 @@ class Process(log.Origin):
return self.result is not None
def wait(self, timeout=300):
- event_loop.wait(self, self.terminated, timeout=timeout)
+ MainLoop.wait(self, self.terminated, timeout=timeout)
class RemoteProcess(Process):