Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5858e8a
)
PR: file omniORBconfig has now several lines, NSPORT was wrong
author
prascle
<prascle>
Tue, 20 Nov 2007 09:54:35 +0000
(09:54 +0000)
committer
prascle
<prascle>
Tue, 20 Nov 2007 09:54:35 +0000
(09:54 +0000)
bin/NSparam.py
patch
|
blob
|
history
diff --git
a/bin/NSparam.py
b/bin/NSparam.py
index 5ec527e11dedba4a18b6316e8ac8564804c7155d..652e6da662a62c2c6795b85aaf51ba7657197b1a 100755
(executable)
--- 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.read
line
()
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.read
line
()
pass
pass
if info=='host':