make netconf.py stylish (#22839)

(flake8 stuff)

netconf.py:22:1: F401 're' imported but unused
netconf.py:23:1: F401 'socket' imported but unused
netconf.py:24:1: F401 'json' imported but unused
netconf.py:25:1: F401 'signal' imported but unused
netconf.py:31:1: F401 'ansible.module_utils.six.moves.StringIO' imported but unused
This commit is contained in:
Adrian Likins 2017-03-23 10:29:24 -04:00 committed by Nathaniel Case
parent 91a385b87d
commit ee478c4885

View file

@ -19,16 +19,11 @@ from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import re
import socket
import json
import signal
import logging
from ansible import constants as C
from ansible.errors import AnsibleConnectionFailure, AnsibleError
from ansible.plugins.connection import ConnectionBase, ensure_connect
from ansible.module_utils.six.moves import StringIO
try:
from ncclient import manager
@ -46,6 +41,7 @@ except ImportError:
logging.getLogger('ncclient').setLevel(logging.INFO)
class Connection(ConnectionBase):
''' NetConf connections '''
@ -136,4 +132,3 @@ class Connection(ConnectionBase):
def fetch_file(self, in_path, out_path):
"""Fetch a file from remote to local"""
pass