From 00a9dc1057f74c20b8e4f1ff927ca9bf60480230 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 27 Nov 2014 10:58:35 +0300 Subject: [PATCH] Fix problem with collecting dependencies in batch mode on some platforms: text data of XML file can be split to several nodes --- runInstall | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.2