Remove unused imports from netconf_get (#61265)

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pull/61267/head
Paul Belanger 5 years ago committed by GitHub
parent 2ce091cc86
commit 9d4dcc7506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -148,16 +148,16 @@ output:
import sys import sys
try: try:
from lxml.etree import Element, SubElement, tostring, fromstring, XMLSyntaxError from lxml.etree import tostring, fromstring, XMLSyntaxError
except ImportError: except ImportError:
from xml.etree.ElementTree import Element, SubElement, tostring, fromstring from xml.etree.ElementTree import tostring, fromstring
if sys.version_info < (2, 7): if sys.version_info < (2, 7):
from xml.parsers.expat import ExpatError as XMLSyntaxError from xml.parsers.expat import ExpatError as XMLSyntaxError
else: else:
from xml.etree.ElementTree import ParseError as XMLSyntaxError from xml.etree.ElementTree import ParseError as XMLSyntaxError
from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.network.netconf.netconf import get_capabilities, locked_config, get_config, get from ansible.module_utils.network.netconf.netconf import get_capabilities, get_config, get
from ansible.module_utils.network.common.netconf import remove_namespaces from ansible.module_utils.network.common.netconf import remove_namespaces
from ansible.module_utils._text import to_text from ansible.module_utils._text import to_text

Loading…
Cancel
Save