summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJoffrey F <f.joffrey@gmail.com>2016-12-02 15:20:34 -0800
committerGitHub <noreply@github.com>2016-12-02 15:20:34 -0800
commitd56b2d3dc87b3d12fad197fa2cd19f3ea3f7e5d1 (patch)
tree96ed159e6603cfc02c296129c9e2c4245e6b721a /docker
parent32cd0161b67b3ade2e079093ccfb59e56f242437 (diff)
parent94083f25acfa38d68e6dbb08c81d51021191c95b (diff)
downloaddocker-py-d56b2d3dc87b3d12fad197fa2cd19f3ea3f7e5d1.tar.gz
Merge pull request #1315 from bfirsh/rename-docker-py-to-docker-sdk-python
Start to rename docker-py to docker-sdk-python
Diffstat (limited to 'docker')
-rw-r--r--docker/__init__.py2
-rw-r--r--docker/api/client.py4
-rw-r--r--docker/client.py6
-rw-r--r--docker/constants.py2
4 files changed, 7 insertions, 7 deletions
diff --git a/docker/__init__.py b/docker/__init__.py
index 96a9ef0..cf732e1 100644
--- a/docker/__init__.py
+++ b/docker/__init__.py
@@ -4,4 +4,4 @@ from .client import DockerClient, from_env
from .version import version, version_info
__version__ = version
-__title__ = 'docker-py'
+__title__ = 'docker'
diff --git a/docker/api/client.py b/docker/api/client.py
index 0b4d161..a9fe7d0 100644
--- a/docker/api/client.py
+++ b/docker/api/client.py
@@ -143,8 +143,8 @@ class APIClient(
warnings.warn(
'The minimum API version supported is {}, but you are using '
'version {}. It is recommended you either upgrade Docker '
- 'Engine or use an older version of docker-py.'.format(
- MINIMUM_DOCKER_API_VERSION, self._version)
+ 'Engine or use an older version of Docker SDK for '
+ 'Python.'.format(MINIMUM_DOCKER_API_VERSION, self._version)
)
def _retrieve_server_version(self):
diff --git a/docker/client.py b/docker/client.py
index b271eb7..171175d 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -158,9 +158,9 @@ class DockerClient(object):
s = ["'DockerClient' object has no attribute '{}'".format(name)]
# If a user calls a method on APIClient, they
if hasattr(APIClient, name):
- s.append("In docker-py 2.0, this method is now on the object "
- "APIClient. See the low-level API section of the "
- "documentation for more details.".format(name))
+ s.append("In Docker SDK for Python 2.0, this method is now on the "
+ "object APIClient. See the low-level API section of the "
+ "documentation for more details.")
raise AttributeError(' '.join(s))
diff --git a/docker/constants.py b/docker/constants.py
index c3048cb..0bfc0b0 100644
--- a/docker/constants.py
+++ b/docker/constants.py
@@ -15,5 +15,5 @@ INSECURE_REGISTRY_DEPRECATION_WARNING = \
IS_WINDOWS_PLATFORM = (sys.platform == 'win32')
-DEFAULT_USER_AGENT = "docker-py/{0}".format(version)
+DEFAULT_USER_AGENT = "docker-sdk-python/{0}".format(version)
DEFAULT_NUM_POOLS = 25