From 0ee074a4a5ebdfca398f478e802856b1e4bda0eb Mon Sep 17 00:00:00 2001 From: prascle Date: Tue, 20 Nov 2007 09:54:35 +0000 Subject: [PATCH] PR: file omniORBconfig has now several lines, NSPORT was wrong --- bin/NSparam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/NSparam.py b/bin/NSparam.py index 5ec527e11..652e6da66 100755 --- a/bin/NSparam.py +++ b/bin/NSparam.py @@ -36,7 +36,7 @@ def getNSparams(info=""): my_host="" if os.environ.has_key("OMNIORB_CONFIG"): file = open(os.environ["OMNIORB_CONFIG"], "r") - s = file.read() + s = file.readline() while len(s): l = string.split(s, ":") if string.split(l[0], " ")[0] == "ORBInitRef" or \ @@ -48,7 +48,7 @@ def getNSparams(info=""): my_host = l[len(l)-2] break; pass - s = file.read() + s = file.readline() pass pass if info=='host': -- 2.39.2