From 9c849d5c9446415172ee54577a0867e3582948d6 Mon Sep 17 00:00:00 2001 From: Tim Rupp Date: Fri, 16 Jun 2017 11:54:53 -0700 Subject: [PATCH] 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. --- lib/ansible/module_utils/netcfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/netcfg.py b/lib/ansible/module_utils/netcfg.py index d4f4a5ff4a..f712ea3f72 100644 --- a/lib/ansible/module_utils/netcfg.py +++ b/lib/ansible/module_utils/netcfg.py @@ -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