diff options
author | Joffrey F <f.joffrey@gmail.com> | 2015-02-01 15:47:23 -0800 |
---|---|---|
committer | Joffrey F <f.joffrey@gmail.com> | 2015-02-01 15:47:23 -0800 |
commit | 96950a467dac13f72abc1900160ab74a79fa8d0e (patch) | |
tree | 20662a1f96a7bd5fa1a9d066e6836707d9ead06a | |
parent | cd006bbfaf39cdf7c123bc467ea51fbcbea18fbe (diff) | |
download | docker-py-96950a467dac13f72abc1900160ab74a79fa8d0e.tar.gz |
Fix #458
-rw-r--r-- | docker/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/client.py b/docker/client.py index 1dd05e3..777c20d 100644 --- a/docker/client.py +++ b/docker/client.py @@ -463,7 +463,7 @@ class Client(requests.Session): timeout=timeout, ) - if context is not None: + if context is not None and not custom_context: context.close() if stream: |