From ffa92f7725d86ac11758396ae425a7ec130711af Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Thu, 18 Jul 2019 16:54:33 +0200 Subject: [PATCH] Fix typo in import package name. (#59229) (cherry picked from commit cdf0947df092fb9883a13bca13a120ff29cacfc5) --- lib/ansible/module_utils/docker/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/docker/common.py b/lib/ansible/module_utils/docker/common.py index 091b8b5200d..18d8d746db7 100644 --- a/lib/ansible/module_utils/docker/common.py +++ b/lib/ansible/module_utils/docker/common.py @@ -75,7 +75,7 @@ except ImportError: try: - from request.exceptions import RequestException + from requests.exceptions import RequestException except ImportError: # Either docker-py is no longer using requests, or docker-py isn't around either, # or docker-py's dependency requests is missing. In any case, define an exception