From 5a9ad1e6bc011c829a03168dfc70900835e887b5 Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Mon, 22 May 2017 15:46:21 +0200 Subject: [PATCH] Python3: print => print() --- bin/runPYHELLO.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/runPYHELLO.in b/bin/runPYHELLO.in index 03ecf25..fe84a02 100755 --- 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 -- 2.30.2