[Zope3-checkins] SVN: Zope3/trunk/src/zope/publisher/http.py changed the default value of the hint argument to 0, because StringIO.readline requires an int

Bernd Dorn bernd.dorn at fhv.at
Fri Apr 14 09:24:36 EDT 2006


Log message for revision 66941:
  changed the default value of the hint argument to 0, because StringIO.readline requires an int

Changed:
  U   Zope3/trunk/src/zope/publisher/http.py

-=-
Modified: Zope3/trunk/src/zope/publisher/http.py
===================================================================
--- Zope3/trunk/src/zope/publisher/http.py	2006-04-14 09:27:13 UTC (rev 66940)
+++ Zope3/trunk/src/zope/publisher/http.py	2006-04-14 13:24:35 UTC (rev 66941)
@@ -203,7 +203,7 @@
         self.cacheStream.write(data)
         return data
 
-    def readlines(self, hint=None):
+    def readlines(self, hint=0):
         data = self.stream.readlines(hint)
         self.cacheStream.write(''.join(data))
         return data



More information about the Zope3-Checkins mailing list