From a6fb7a2064fbb2fd9b5302048ab758d44bbed358 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Fri, 9 Sep 2016 16:44:55 -0700 Subject: Re-add docker.utils.types module for backwards compatibility Signed-off-by: Joffrey F --- docker/utils/types.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docker/utils/types.py diff --git a/docker/utils/types.py b/docker/utils/types.py new file mode 100644 index 0000000..8098c47 --- /dev/null +++ b/docker/utils/types.py @@ -0,0 +1,7 @@ +# Compatibility module. See https://github.com/docker/docker-py/issues/1196 + +import warnings + +from ..types import Ulimit, LogConfig # flake8: noqa + +warnings.warn('docker.utils.types is now docker.types', ImportWarning) -- cgit v1.2.1