Kaydet (Commit) 997e583e authored tarafından Joffrey F's avatar Joffrey F Kaydeden (comit) GitHub

Merge pull request #1286 from docker/1.10.6-release

1.10.6 release
......@@ -169,13 +169,16 @@ class NpipeSocket(object):
def settimeout(self, value):
if value is None:
self._timeout = win32pipe.NMPWAIT_NOWAIT
# Blocking mode
self._timeout = win32pipe.NMPWAIT_WAIT_FOREVER
elif not isinstance(value, (float, int)) or value < 0:
raise ValueError('Timeout value out of range')
elif value == 0:
self._timeout = win32pipe.NMPWAIT_USE_DEFAULT_WAIT
# Non-blocking mode
self._timeout = win32pipe.NMPWAIT_NO_WAIT
else:
self._timeout = value
# Timeout mode - Value converted to milliseconds
self._timeout = value * 1000
def gettimeout(self):
return self._timeout
......
version = "1.10.5"
version = "1.10.6"
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])
Change Log
==========
1.10.6
------
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/26?closed=1)
### Bugfixes
* Fixed an issue where setting a `NpipeSocket` instance to blocking mode would
put it in non-blocking mode and vice-versa.
1.10.5
------
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/24?closed=1)
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/25?closed=1)
### Bugfixes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment