Blame SOURCES/0001-Rework-patch-for-rhbz-1194445.patch

e34f9a
From 5e24a5214db77a021ab12faea417e5f6f6ab57ba Mon Sep 17 00:00:00 2001
f0cb50
From: Lokesh Mandvekar <lsm5@fedoraproject.org>
e34f9a
Date: Mon, 20 Jul 2015 14:56:35 -0400
e34f9a
Subject: [PATCH] Rework patch for rhbz#1194445
e34f9a
e34f9a
- make docker-py work well with older python-requests
f0cb50
f0cb50
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
f0cb50
---
e34f9a
 docker/clientbase.py | 2 +-
f0cb50
 1 file changed, 1 insertion(+), 1 deletion(-)
f0cb50
e34f9a
diff --git a/docker/clientbase.py b/docker/clientbase.py
e34f9a
index c81ee0c..fd861bc 100644
e34f9a
--- a/docker/clientbase.py
e34f9a
+++ b/docker/clientbase.py
e34f9a
@@ -166,7 +166,7 @@ class ClientBase(requests.Session):
f0cb50
         """Generator for data coming from a chunked-encoded HTTP response."""
f0cb50
         if response.raw._fp.chunked:
f0cb50
             reader = response.raw
f0cb50
-            while not reader.closed:
f0cb50
+            while not reader._fp.isclosed():
f0cb50
                 # this read call will block until we get a chunk
f0cb50
                 data = reader.read(1)
f0cb50
                 if not data:
e34f9a
-- 
f0cb50
1.8.3.1
f0cb50