summaryrefslogtreecommitdiff
path: root/docker/client.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2015-07-20 13:50:49 -0700
committerJoffrey F <joffrey@docker.com>2015-07-20 13:50:49 -0700
commit915be6ad67fbb701273637876e51d76149bd8d8b (patch)
treea265a3d1060a9ef3d146aaf8268cbb6de1c0011d /docker/client.py
parent33e1a58b6034f4b586a55b5b42e644c11c281d25 (diff)
downloaddocker-py-915be6ad67fbb701273637876e51d76149bd8d8b.tar.gz
Use constant for deprecation message in auth.py
Diffstat (limited to 'docker/client.py')
-rw-r--r--docker/client.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/docker/client.py b/docker/client.py
index 285718b..9084689 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -268,9 +268,10 @@ class Client(clientbase.ClientBase):
'filters': filters
}
- return self._stream_helper(self.get(self._url('/events'),
- params=params, stream=True),
- decode=decode)
+ return self._stream_helper(
+ self.get(self._url('/events'), params=params, stream=True),
+ decode=decode
+ )
def exec_create(self, container, cmd, stdout=True, stderr=True, tty=False,
privileged=False):