Remove unused import and lines, to make linter happy (#45665)
This commit is contained in:
parent
742d702b96
commit
ec2c131bac
1 changed files with 0 additions and 5 deletions
|
@ -190,14 +190,10 @@ backup_path:
|
|||
type: string
|
||||
sample: /playbooks/ansible/backup/nos_config.2018-02-12@18:26:34
|
||||
"""
|
||||
import re
|
||||
import time
|
||||
|
||||
from ansible.module_utils.network.nos.nos import run_commands, get_config, load_config
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.network.common.parsing import Conditional
|
||||
from ansible.module_utils.network.common.config import NetworkConfig, dumps
|
||||
from ansible.module_utils.six import iteritems
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
|
@ -294,7 +290,6 @@ def main():
|
|||
|
||||
if match != 'none':
|
||||
config = get_running_config(module, config)
|
||||
path = module.params['parents']
|
||||
configobjs = candidate.difference(config, path=path, match=match, replace=replace)
|
||||
else:
|
||||
configobjs = candidate.items
|
||||
|
|
Loading…
Reference in a new issue