From 6fc9ffd28eee8c8a2fc8449bc5b2d2f831e16bf4 Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Mon, 19 Sep 2016 22:27:23 -0400 Subject: [PATCH] clean up junos shared module (#17652) This cleans up the junos module removing some unneeded commands and fixing method signature with unneeded **kwargs --- lib/ansible/module_utils/junos.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/ansible/module_utils/junos.py b/lib/ansible/module_utils/junos.py index 2b1ba49faf2..b7d00cb595b 100644 --- a/lib/ansible/module_utils/junos.py +++ b/lib/ansible/module_utils/junos.py @@ -168,9 +168,6 @@ class Netconf(object): def load_config(self, config, commit=False, replace=False, confirm=None, comment=None, config_format='text'): - #def load_config(self, candidate, update='merge', comment=None, - # confirm=None, format='text', commit=True): - if replace: merge = False overwrite = True @@ -280,7 +277,7 @@ class Cli(CliBase): self.execute('cli') self.execute('set cli screen-length 0') - def configure(self, commands, comment=None, **kwargs): + def configure(self, commands, comment=None): cmds = ['configure'] cmds.extend(to_list(commands))