mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-09-12 19:07:24 +00:00
Fix imports. (#585)
This commit is contained in:
@@ -67,7 +67,7 @@ except ImportError:
|
||||
|
||||
|
||||
try:
|
||||
from requests.exceptions import RequestException
|
||||
from requests.exceptions import RequestException # noqa: F401, pylint: disable=unused-import
|
||||
except ImportError:
|
||||
# Either Docker SDK for Python is no longer using requests, or Docker SDK for Python isn't around either,
|
||||
# or Docker SDK for Python's dependency requests is missing. In any case, define an exception
|
||||
|
||||
Reference in New Issue
Block a user