From ddb8909fef1b054a24990479220708d99ad1adf0 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 23 Feb 2022 11:00:53 +0100 Subject: [PATCH] Remove forgoten useless tempfile --- bin/runSalome.py | 2 +- bin/runSalomeCommon.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/runSalome.py b/bin/runSalome.py index 76ab5872f..e456ebaea 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -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 toimport = [] if 'gui' in args and 'session_gui' in args: if not args['gui'] or not args['session_gui']: diff --git a/bin/runSalomeCommon.py b/bin/runSalomeCommon.py index 354017404..bbe117f7f 100755 --- a/bin/runSalomeCommon.py +++ b/bin/runSalomeCommon.py @@ -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) -- 2.39.2