diff options
author | Dan Timoney <dtimoney@att.com> | 2024-09-04 15:26:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-09-04 15:26:45 +0000 |
commit | 5fac36030ad511870b62ce5424ff02f72d72f735 (patch) | |
tree | 56e8d56b879a8ce1e590c45bf53a9bfe8ffd3c7c /tools/lib/pomfile.py | |
parent | 426ae53c36ff2d6c9351627c52e7985bae65489e (diff) | |
parent | d4313f3f621c6bcbf4109b20245f722a3e9b6b8d (diff) |
Merge "migrate parents to potassium-sr2"
Diffstat (limited to 'tools/lib/pomfile.py')
-rw-r--r-- | tools/lib/pomfile.py | 3 |
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 |