diff options
Diffstat (limited to 'ansible_collections/arista/eos/plugins/cliconf/eos.py')
-rw-r--r-- | ansible_collections/arista/eos/plugins/cliconf/eos.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/ansible_collections/arista/eos/plugins/cliconf/eos.py b/ansible_collections/arista/eos/plugins/cliconf/eos.py index d5347307d..9c6fb753c 100644 --- a/ansible_collections/arista/eos/plugins/cliconf/eos.py +++ b/ansible_collections/arista/eos/plugins/cliconf/eos.py @@ -64,17 +64,13 @@ from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.c NetworkConfig, dumps, ) -from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import ( - to_list, -) +from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import to_list from ansible_collections.ansible.netcommon.plugins.plugin_utils.cliconf_base import ( CliconfBase, enable_mode, ) -from ansible_collections.arista.eos.plugins.module_utils.network.eos.eos import ( - session_name, -) +from ansible_collections.arista.eos.plugins.module_utils.network.eos.eos import session_name class Cliconf(CliconfBase): @@ -383,9 +379,7 @@ class Cliconf(CliconfBase): else: configdiffobjs = candidate_obj.items - diff["config_diff"] = ( - dumps(configdiffobjs, "commands") if configdiffobjs else "" - ) + diff["config_diff"] = dumps(configdiffobjs, "commands") if configdiffobjs else "" return diff def supports_sessions(self): |