]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Remove forgoten useless tempfile
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 23 Feb 2022 10:00:53 +0000 (11:00 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 23 Feb 2022 10:00:53 +0000 (11:00 +0100)
bin/runSalome.py
bin/runSalomeCommon.py

index 76ab5872f1d7d834e4067c35025cd7f84a25b992..e456ebaeac10ddeb1d202ef487ba8598d570f472 100755 (executable)
@@ -188,7 +188,7 @@ def main(exeName=None):
     # --
     setenv.set_env(args, modules_list, modules_root_dir, keepEnvironment=keep_env)
     ior_fakens_filename = useSalome(args, modules_list, modules_root_dir)
-    ###
+    # Management of -t <script.py>
     toimport = []
     if 'gui' in args and 'session_gui' in args:
         if not args['gui'] or not args['session_gui']:
index 354017404be16e9cf52751a3dcb3d4ff699482c8..bbe117f7fda3d96da7c0ec100c30492613e6be5f 100755 (executable)
@@ -322,7 +322,6 @@ class CommonSessionServer(Server):
             pass
         if 'language' in self.args:
             self.SCMD2+=['--language=%s' % self.args['language']]
-        tempfile.mkstemp()
         os_handle, iorfakens = tempfile.mkstemp()
         self.iorfakens = iorfakens
         os.close(os_handle)