summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2016-09-09 16:44:55 -0700
committerJoffrey F <joffrey@docker.com>2016-09-09 16:50:03 -0700
commita6fb7a2064fbb2fd9b5302048ab758d44bbed358 (patch)
treeca3aa7a68ba4ebdb6d03956f392701db017e6e28
parent72e7afe17a9aa8b002a726377ce86cc9e13f6f35 (diff)
downloaddocker-py-a6fb7a2064fbb2fd9b5302048ab758d44bbed358.tar.gz
Re-add docker.utils.types module for backwards compatibility1196-docker.utils.types
Signed-off-by: Joffrey F <joffrey@docker.com>
-rw-r--r--docker/utils/types.py7
1 files changed, 7 insertions, 0 deletions
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)