]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Windows porting
authordmv <dmv@opencascade.com>
Tue, 19 Oct 2010 11:12:44 +0000 (11:12 +0000)
committerdmv <dmv@opencascade.com>
Tue, 19 Oct 2010 11:12:44 +0000 (11:12 +0000)
bin/runSalome.py

index 067ae0d9273863852b0bafa24b8027345235e8fe..33c2eb3ae54077008433a40d1b4d8f81dfae1f5d 100755 (executable)
@@ -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