From: vsr Date: Thu, 27 Nov 2014 07:58:35 +0000 (+0300) Subject: Fix problem with collecting dependencies in batch mode on some platforms: text data... X-Git-Tag: V7_5_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=00a9dc1057f74c20b8e4f1ff927ca9bf60480230;p=tools%2Finstall.git Fix problem with collecting dependencies in batch mode on some platforms: text data of XML file can be split to several nodes --- diff --git a/runInstall b/runInstall index 8616318..3320a64 100755 --- a/runInstall +++ b/runInstall @@ -474,7 +474,12 @@ class ConfigParser: 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