MCPcopy Create free account
hub / github.com/apache/cloudstack / confluence_soap_parser

Function confluence_soap_parser

tools/bugs-wiki/search-wiki.py:26–30  ·  view source on GitHub ↗
(xml_str, rules=None,
                           parser=SOAPpy.Parser._parseSOAP)

Source from the content-addressed store, hash-verified

24
25# Work around https://jira.atlassian.com/browse/CONF-6720.
26def confluence_soap_parser(xml_str, rules=None,
27 parser=SOAPpy.Parser._parseSOAP):
28 attribute = 'xsi:type="soapenc:Array"'
29 xml_str = xml_str.replace('%s %s' % (attribute, attribute), attribute)
30 return parser(xml_str, rules=rules)
31SOAPpy.Parser._parseSOAP = confluence_soap_parser
32
33

Callers

nothing calls this directly

Calls 2

parserFunction · 0.85
replaceMethod · 0.80

Tested by

no test coverage detected