]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
delete port log
authorCédric Aguerre <cedric.aguerre@edf.fr>
Fri, 7 Apr 2017 14:06:40 +0000 (16:06 +0200)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Tue, 25 Apr 2017 11:45:59 +0000 (13:45 +0200)
bin/appliskel/salome_tester/salome_instance.py

index 483c91705c77581cea75a516f22f5c2a8c2ceea1..23bb9c3971bb1f681b201f0b96a6cb4ebb806d55 100644 (file)
@@ -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())