replaced params.xml.findall with params.findall in xml2fault
This commit is contained in:
parent
d4067275ff
commit
8fccfc452b
@ -22,7 +22,7 @@ def fault2xml(fault):
|
||||
|
||||
def xml2fault(params):
|
||||
vals = []
|
||||
for value in params.xml.findall('{%s}value' % _namespace):
|
||||
for value in params.findall('{%s}value' % _namespace):
|
||||
vals.append(_xml2py(value))
|
||||
fault = dict()
|
||||
fault['code'] = vals[0]['faultCode']
|
||||
|
Loading…
Reference in New Issue
Block a user