diff options
author | Peter Sprygada <privateip@users.noreply.github.com> | 2016-09-19 22:27:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-19 22:27:23 -0400 |
commit | 6fc9ffd28eee8c8a2fc8449bc5b2d2f831e16bf4 (patch) | |
tree | e1e06c4eef8b024ddfc4b3a672f15d2ac3596f90 | |
parent | 662008115b5cdb97bfe107725a1e257354f91cca (diff) | |
download | ansible-6fc9ffd28eee8c8a2fc8449bc5b2d2f831e16bf4.tar.gz |
clean up junos shared module (#17652)
This cleans up the junos module removing some unneeded commands and fixing
method signature with unneeded **kwargs
-rw-r--r-- | lib/ansible/module_utils/junos.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ansible/module_utils/junos.py b/lib/ansible/module_utils/junos.py index 2b1ba49faf..b7d00cb595 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)) |