]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Additional fix for '23417: [CEA 2020] Naming service cannot be found if the network...
authorrnv <rnv@opencascade.com>
Wed, 17 May 2017 09:14:46 +0000 (12:14 +0300)
committerrnv <rnv@opencascade.com>
Wed, 17 May 2017 09:14:46 +0000 (12:14 +0300)
bin/nameserver.py

index 5e6c772acd41fd2b3f5b8ed08eaa23d53623c377..37061547ded443e8d1d94640695eb31972d94d6f 100755 (executable)
@@ -25,7 +25,7 @@
 import os, sys, re, socket
 #import commands
 from server import Server
-from salome_utils import getShortHostName
+from salome_utils import getHostName
 from launchConfigureParser import verbose
 
 # -----------------------------------------------------------------------------
@@ -47,7 +47,7 @@ class NamingServer(Server):
             pass
 
         if verbose(): print "Name Service... "
-        hname = getShortHostName()
+        hname = getHostName()
 
         with open(os.environ["OMNIORB_CONFIG"]) as f:
           ss = re.findall("NameService=corbaname::" + hname + ":\d+", f.read())