From 6386f07d3898290629f0cdb3e9c8691228120231 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 5 Apr 2007 13:03:11 +0000 Subject: [PATCH] PAL13554: Redesign options of runSalome. --- bin/runSalome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/runSalome.py b/bin/runSalome.py index 34b4628a7..7c119c1fe 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -866,7 +866,7 @@ def useSalome(args, modules_list, modules_root_dir): scrname = toimport[ i ] if len(scrname) > 2 and (len(scrname) - string.rfind(scrname, ".py") == 3): print 'executing',scrname - doexec = 'execfile(%s)'%scrname + doexec = 'execfile(\"%s\")'%scrname exec doexec else: print 'importing',scrname -- 2.39.2