This script is the part of the SALOME installation procedure.
Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
Created : Thu Dec 18 12:01:00 2002
-Copyright : 2002-2014 CEA
+Copyright : 2002-2015 CEA
"""
if not prodName: continue
depsList = []
for depElem in prodElem.getElementsByTagName('dep'):
- depsList.append(depElem.firstChild.data)
+ txt = ""
+ n = depElem.firstChild
+ while n:
+ txt += n.data
+ n = n.nextSibling
+ depsList.append(txt.strip())
pass
depsMap[prodName] = depsList
pass