From ba87afd946596e4fdeaf275a70813c0a094a22cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Fri, 7 Apr 2017 16:06:40 +0200 Subject: [PATCH] delete port log --- bin/appliskel/salome_tester/salome_instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/appliskel/salome_tester/salome_instance.py b/bin/appliskel/salome_tester/salome_instance.py index 483c91705..23bb9c397 100644 --- a/bin/appliskel/salome_tester/salome_instance.py +++ b/bin/appliskel/salome_tester/salome_instance.py @@ -36,7 +36,7 @@ class SalomeInstance(object): @staticmethod def start(shutdown_servers=False, with_gui=False, args=[]): import tempfile - log = tempfile.NamedTemporaryFile(suffix='_nsport', delete=False) + log = tempfile.NamedTemporaryFile(suffix='_nsport', delete=True) port_log = log.name log.close() port_log = port_log + "-%s.log"%(os.getpid()) -- 2.39.2