summaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/process.py
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-22 19:20:41 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-05-25 12:31:20 +0200
commit06ada458cfbd0cec5aec8ec12122af4dfd77a177 (patch)
treedd5bdefad950a45e3c520e5d9cd368acb182dc99 /src/osmo_gsm_tester/process.py
parent63f2d47b3e6f0d60ef57485aba7410ec1d58decd (diff)
process: Move cleanup log inside cleanup method
Diffstat (limited to 'src/osmo_gsm_tester/process.py')
-rw-r--r--src/osmo_gsm_tester/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_gsm_tester/process.py b/src/osmo_gsm_tester/process.py
index 8ae6a55..477a096 100644
--- a/src/osmo_gsm_tester/process.py
+++ b/src/osmo_gsm_tester/process.py
@@ -126,6 +126,7 @@ class Process(log.Origin):
self.cleanup()
def cleanup(self):
+ self.dbg('Cleanup')
self.close_output_logs()
if self.result == 0:
self.log('Terminated: ok', rc=self.result)
@@ -149,7 +150,6 @@ class Process(log.Origin):
self.log('stderr:\n', m, '\n')
def close_output_logs(self):
- self.dbg('Cleanup')
for k, v in self.outputs.items():
path, f = v
if f: