From 5acfed9f9592325a405f2c1480d5c4a7dbae8a7b Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 17 May 2017 12:14:46 +0300 Subject: [PATCH] Additional fix for '23417: [CEA 2020] Naming service cannot be found if the network is not reachable' issue. --- bin/nameserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/nameserver.py b/bin/nameserver.py index 5e6c772ac..37061547d 100755 --- a/bin/nameserver.py +++ b/bin/nameserver.py @@ -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()) -- 2.39.2