From 5f62a973da0312aa48ca34dae06b52e3650af112 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bonicoli Date: Fri, 14 Jul 2017 14:40:44 +0200 Subject: [PATCH] docker_secret: fix broken import --- lib/ansible/module_utils/docker_common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/module_utils/docker_common.py b/lib/ansible/module_utils/docker_common.py index 2608fcd6e3..805e4ed907 100644 --- a/lib/ansible/module_utils/docker_common.py +++ b/lib/ansible/module_utils/docker_common.py @@ -90,6 +90,9 @@ if not HAS_DOCKER_PY: def __init__(self, **kwargs): pass + class APIError(Exception): + pass + class DockerBaseClass(object):