From ba166dd709bb3a5e1772f4f639f23aa4ad24eb46 Mon Sep 17 00:00:00 2001 From: z1kk0 Date: Sun, 2 Jun 2024 16:52:18 +0300 Subject: [PATCH] rename special word '_value' to '+value' --- plugins/modules/xml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/xml.py b/plugins/modules/xml.py index 5802d03f35..c92a807538 100644 --- a/plugins/modules/xml.py +++ b/plugins/modules/xml.py @@ -305,7 +305,7 @@ EXAMPLES = r''' name: Scumm bar location: Monkey island # Value - _value: unreal + +value: unreal # Subnodes _: - floor: Pirate hall @@ -761,7 +761,7 @@ def child_to_element(module, child, in_type): (key, value) = next(iteritems(child)) if isinstance(value, MutableMapping): children = value.pop('_', None) - child_value = value.pop('_value', None) + child_value = value.pop('+value', None) node = etree.Element(key, value)