mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
rename special word '_value' to '+value'
This commit is contained in:
parent
a1a7bd34d0
commit
ba166dd709
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue