]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PAL10512: Improve fix, avoiding modifications of 'args' dictionary, common for all...
authorjfa <jfa@opencascade.com>
Thu, 9 Mar 2006 14:33:13 +0000 (14:33 +0000)
committerjfa <jfa@opencascade.com>
Thu, 9 Mar 2006 14:33:13 +0000 (14:33 +0000)
bin/runSalome.py

index 09872cec8a6470980cef0b20b8967efd984dba04..1cff35891c83a7b2d4c505bdaa67c5ecfb9cd4f1 100755 (executable)
@@ -355,7 +355,7 @@ class LoggerServer(Server):
 
 class SessionLoader(Server):
     def __init__(self,args):
-        self.args=args
+        self.args = args.copy()
         # Bug 11512 (Problems with runSalome --xterm on Mandrake and Debian Sarge)
         self.args['xterm']=0
         #
@@ -378,7 +378,7 @@ class SessionLoader(Server):
 
 class SessionServer(Server):
     def __init__(self,args):
-        self.args=args
+        self.args = args.copy()
         # Bug 11512 (Problems with runSalome --xterm on Mandrake and Debian Sarge)
         self.args['xterm']=0
         #