mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-10 11:11:29 -07:00
Templar: encapsulate _available_variables (#55435)
Ensure variables are reset between iterations
This commit is contained in:
parent
bd061fd632
commit
34e9d6781b
14 changed files with 47 additions and 30 deletions
|
@ -342,7 +342,7 @@ class FieldAttributeBase(with_metaclass(BaseMeta, object)):
|
|||
'''
|
||||
|
||||
# save the omit value for later checking
|
||||
omit_value = templar._available_variables.get('omit')
|
||||
omit_value = templar.available_variables.get('omit')
|
||||
|
||||
for (name, attribute) in iteritems(self._valid_attrs):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue