From: dmv Date: Tue, 19 Oct 2010 11:12:44 +0000 (+0000) Subject: Windows porting X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c9c1aaad7de0ca47b0a19ac9ee9c693053a58950;p=modules%2Fkernel.git Windows porting --- diff --git a/bin/runSalome.py b/bin/runSalome.py index 067ae0d92..33c2eb3ae 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -601,7 +601,10 @@ def startSalome(args, modules_list, modules_root_dir): # set PYTHONINSPECT variable (python interpreter in interactive mode) if args['pinter']: os.environ["PYTHONINSPECT"]="1" - import readline + try: + import readline + except ImportError: + pass return clt