mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Remove unneccessary imports (#149)
* Remove unneccessary imports. * Add noqas.
This commit is contained in:
parent
e7dafebc7a
commit
622680fe3f
7 changed files with 5 additions and 15 deletions
|
@ -12,14 +12,13 @@ __metaclass__ = type
|
|||
from ansible.module_utils.basic import missing_required_lib
|
||||
from ansible.module_utils.common.text.converters import to_native
|
||||
|
||||
import re
|
||||
import ssl
|
||||
import traceback
|
||||
|
||||
LIB_IMP_ERR = None
|
||||
try:
|
||||
from librouteros import connect
|
||||
from librouteros.exceptions import LibRouterosError
|
||||
from librouteros.exceptions import LibRouterosError # noqa: F401, pylint: disable=unused-import
|
||||
HAS_LIB = True
|
||||
except Exception as e:
|
||||
HAS_LIB = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue