mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-02 22:39:09 -07:00
multiple modules: removed unused imports (#5240)
* multiple modules: removed unused imports * fixed ali_instance(_info) import check * add changelog fragment * Update changelogs/fragments/5240-unused-imports.yaml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
be9acc7fba
commit
775be1d3f3
22 changed files with 25 additions and 45 deletions
|
@ -15,6 +15,7 @@ __metaclass__ = type
|
|||
|
||||
import os
|
||||
import json
|
||||
import traceback
|
||||
from ansible.module_utils.basic import env_fallback
|
||||
|
||||
try:
|
||||
|
@ -28,8 +29,11 @@ try:
|
|||
import footmark.dns
|
||||
import footmark.ram
|
||||
import footmark.market
|
||||
|
||||
FOOTMARK_IMP_ERR = None
|
||||
HAS_FOOTMARK = True
|
||||
except ImportError:
|
||||
FOOTMARK_IMP_ERR = traceback.format_exc()
|
||||
HAS_FOOTMARK = False
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue