]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
0020109: Possible conflict with another ORB in runSalome.py
authordmv <dmv@opencascade.com>
Mon, 12 Jan 2009 12:29:47 +0000 (12:29 +0000)
committerdmv <dmv@opencascade.com>
Mon, 12 Jan 2009 12:29:47 +0000 (12:29 +0000)
bin/runSalome.py

index db0f586d510ebe05b1ccdc5535decd80a41d287b..8071636220b0ca615a152fafc76f0eecdbcaf248 100755 (executable)
@@ -775,7 +775,7 @@ def searchFreePort(args, save_config=1):
                                               with_port=NSPORT)
             orbdata = []
             initref = "NameService=corbaname::%s:%s"%(hostname, NSPORT)
-            import CORBA
+            from omniORB import CORBA
             if CORBA.ORB_ID == "omniORB4":
                 orbdata.append("InitRef = %s"%(initref))
                 orbdata.append("giopMaxMsgSize = 2097152000  # 2 GBytes")