mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
* 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>
(cherry picked from commit 775be1d3f3
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
c0d11f631f
commit
5d6047a21a
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