From c1ec64e6e12019a6ca1d2bce4c250a69649d45f0 Mon Sep 17 00:00:00 2001 From: caremoli Date: Fri, 30 May 2008 15:03:58 +0000 Subject: [PATCH] CCAR: revert setting PYTHONINSPECT to the end of runSalome (must not be set when launching servers) --- bin/runSalome.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bin/runSalome.py b/bin/runSalome.py index bdad9dcfd..dc256253e 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -387,11 +387,6 @@ def startSalome(args, modules_list, modules_root_dir): init_time = os.times() if verbose(): print "startSalome ", args - - # set PYTHONINSPECT variable - if args['pinter']: - os.environ["PYTHONINSPECT"]="1" - import readline # # Initialisation ORB et Naming Service @@ -599,6 +594,10 @@ def startSalome(args, modules_list, modules_root_dir): anInterp=InterpServer(args) anInterp.run() + # set PYTHONINSPECT variable + if args['pinter']: + os.environ["PYTHONINSPECT"]="1" + import readline return clt -- 2.39.2