Salome HOME
projects
/
samples
/
pyhello.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7a967
)
Python3: print => print()
ngr/python3_dev
author
Gilles DAVID
<gilles-g.david@edf.fr>
Mon, 22 May 2017 13:46:21 +0000
(15:46 +0200)
committer
Gilles DAVID
<gilles-g.david@edf.fr>
Mon, 22 May 2017 13:46:21 +0000
(15:46 +0200)
bin/runPYHELLO.in
patch
|
blob
|
history
diff --git
a/bin/runPYHELLO.in
b/bin/runPYHELLO.in
index 03ecf2527333faba82a4f20cd7adaf52c6084dea..fe84a02544048af76b94331c03bc0d58c40a4ddd 100755
(executable)
--- a/
bin/runPYHELLO.in
+++ b/
bin/runPYHELLO.in
@@
-41,7
+41,7
@@
searchFreePort() {
local myhost=`hostname`
export OMNIORB_CONFIG=${HOME}/.omniORB_${myhost}_${NSPORT}.cfg
local initref="NameService=corbaname::"`hostname`":$NSPORT"
-
if [[ `python -c "import CORBA; print CORBA.ORB_ID
"` = "omniORB4" ]]; then
+
if [[ `python -c "import CORBA; print(CORBA.ORB_ID)
"` = "omniORB4" ]]; then
echo "InitRef = $initref" > $OMNIORB_CONFIG
else
echo "ORBInitRef $initref" > $OMNIORB_CONFIG