mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user