1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Corrects method name (#25568)

The method name was missing a 'd'. The method was not used anywhere
however, so no other code needs to be changed. Neither 'has_chilren'
nor 'has_children' are used in the codebase.
This commit is contained in:
Tim Rupp 2017-06-16 11:54:53 -07:00 committed by John R Barker
parent 4ffc4b6748
commit 9c849d5c94

View file

@ -81,7 +81,7 @@ class ConfigLine(object):
return '\n'.join(config)
@property
def has_chilren(self):
def has_children(self):
return len(self._children) > 0
@property