summaryrefslogtreecommitdiffstats
path: root/tools/lib/pomfile.py
diff options
context:
space:
mode:
authorMichael Dürre <michael.duerre@highstreet-technologies.com>2024-03-14 07:48:48 +0100
committerDan Timoney <dtimoney@att.com>2024-08-16 12:32:19 -0400
commitd4313f3f621c6bcbf4109b20245f722a3e9b6b8d (patch)
tree693c72b4a329aaf952a6153ff45d25e4a12e7acf /tools/lib/pomfile.py
parentde82d6865fb7f50c9241eccd38803aa7f5a16b80 (diff)
migrate parents to potassium-sr2
fix migrate script. update odl versions Issue-ID: CCSDK-3990 Change-Id: I311a2445ffb8065cf13d2ab8fbf75986b6eba04f Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com>
Diffstat (limited to 'tools/lib/pomfile.py')
-rw-r--r--tools/lib/pomfile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/pomfile.py b/tools/lib/pomfile.py
index 88bfa90e..c73fbc82 100644
--- a/tools/lib/pomfile.py
+++ b/tools/lib/pomfile.py
@@ -35,10 +35,11 @@ class PomFile:
# value: value to set
def setXmlValue(self, valuePath, value, replaceMultiple=False) -> bool:
if value is None:
+ print("unable to set {} to {} in {}: {}".format(valuePath, value, self.filename, str(False)))
return False
found=False
pathToFind = XPath(valuePath)
- pattern = re.compile('<([^>^\ ^?^!]+)')
+ pattern = re.compile('<([^>^\ ^?^!]+(\ \/)?)')
curPath=XPath()
curParent=None
isComment=False