1
0
Эх сурвалжийг харах

Update docker-py

From https://github.com/bfirsh/docker-py/commit/b79fee71ce3b017ac1c6b1600c4c8d901fbe4231
Ben Firshman 11 жил өмнө
parent
commit
303e0cfd86

+ 1 - 1
fig/packages/docker/client.py

@@ -223,7 +223,7 @@ class Client(requests.Session):
     def _stream_result(self, response):
         """Generator for straight-out, non chunked-encoded HTTP responses."""
         self._raise_for_status(response)
-        for line in response.iter_lines(chunk_size=1):
+        for line in response.iter_lines(chunk_size=1, decode_unicode=True):
             # filter out keep-alive new lines
             if line:
                 yield line + '\n'