From 7d91c531091c1deb97d0840e691df9f12a736e7e Mon Sep 17 00:00:00 2001 From: abd Date: Thu, 6 Apr 2006 11:48:43 +0000 Subject: [PATCH] Temprorary fix --- bin/launchConfigureParser.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/launchConfigureParser.py b/bin/launchConfigureParser.py index a9d0c273c..aaebdf34f 100755 --- a/bin/launchConfigureParser.py +++ b/bin/launchConfigureParser.py @@ -162,7 +162,12 @@ class xml_parser: config_var = appname+'Config' dirs = os.environ[config_var] -dirs = re.split('[;|:]', dirs ) +#abd error om win32 path like W:\dir\di1 +print 'Search configuration file in dir ', dirs +if os.sys.platform == 'win32': + dirs = re.split('[;]', dirs ) +else: + dirs = re.split('[;|:]', dirs ) dirs.reverse() # reverse order, like in "path" variable - FILO-style processing _opts = {} # assiciative array of options to be filled @@ -170,6 +175,9 @@ _opts = {} # assiciative array of options to be filled # SalomeApp.xml files in directories specified by SalomeAppConfig env variable for dir in dirs: filename = dir+'/'+appname+'.xml' + #abd test begin + print 'Search configuration file ', filename + #abd test end try: p = xml_parser(filename, _opts) _opts = p.opts -- 2.39.2