]> 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:28:47 +0000 (12:28 +0000)
committerdmv <dmv@opencascade.com>
Mon, 12 Jan 2009 12:28:47 +0000 (12:28 +0000)
bin/runSalome.py

index c0c1ad1b75d2a4733b060648f9eca6ec6e6d98da..fe97b68fffdcab91d146eaf68eb6c64257dc7f9d 100755 (executable)
@@ -784,7 +784,7 @@ def searchFreePort(args, save_config=1):
                                               **kwargs)
             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")