use tag name 'result' for sample data to match data returned by services
--HG-- extra : source : d6ac5de7ab98151eae6e99462c7d15141515ecf0
This commit is contained in:
parent
38f5dd2bfd
commit
4fb26f6f2d
@ -255,7 +255,7 @@ def encode_error(context, errordetail):
|
|||||||
|
|
||||||
|
|
||||||
def encode_sample_value(datatype, value, format=False):
|
def encode_sample_value(datatype, value, format=False):
|
||||||
r = toxml(datatype, 'value', value)
|
r = toxml(datatype, 'result', value)
|
||||||
if format:
|
if format:
|
||||||
xml_indent(r)
|
xml_indent(r)
|
||||||
content = et.tostring(r)
|
content = et.tostring(r)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user