about summary refs log tree commit diff
path: root/pkgs/development/python2-packages/zope/zope_python-readline.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python2-packages/zope/zope_python-readline.patch')
-rw-r--r--pkgs/development/python2-packages/zope/zope_python-readline.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/python2-packages/zope/zope_python-readline.patch b/pkgs/development/python2-packages/zope/zope_python-readline.patch
new file mode 100644
index 000000000000..4775cfba49b9
--- /dev/null
+++ b/pkgs/development/python2-packages/zope/zope_python-readline.patch
@@ -0,0 +1,12 @@
+diff -r 8833d4892dfc Zope-3.2.1/Dependencies/zope.publisher-Zope-3.2.1/zope.publisher/http.py
+--- a/Dependencies/zope.publisher-Zope-3.2.1/zope.publisher/http.py	Mon Aug 18 14:55:39 2008 +0200
++++ b/Dependencies/zope.publisher-Zope-3.2.1/zope.publisher/http.py	Mon Aug 18 16:37:02 2008 +0200
+@@ -198,7 +198,7 @@ class HTTPInputStream(object):
+         self.cacheStream.write(data)
+         return data
+ 
+-    def readline(self):
++    def readline(self, size=None):
+         data = self.stream.readline()
+         self.cacheStream.write(data)
+         return data