Fix imports. (#585)

This commit is contained in:
Felix Fontein
2023-02-12 22:09:02 +01:00
committed by GitHub
parent 449b91d489
commit a426232523
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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