[Checkins] SVN: zope.file/branches/ajung-blobs/src/zope/file/file.py forgotten 'size'

Andreas Jung andreas at andreas-jung.com
Mon Feb 26 17:52:03 EST 2007


Log message for revision 72846:
  forgotten 'size'
  

Changed:
  U   zope.file/branches/ajung-blobs/src/zope/file/file.py

-=-
Modified: zope.file/branches/ajung-blobs/src/zope/file/file.py
===================================================================
--- zope.file/branches/ajung-blobs/src/zope/file/file.py	2007-02-26 22:45:31 UTC (rev 72845)
+++ zope.file/branches/ajung-blobs/src/zope/file/file.py	2007-02-26 22:52:02 UTC (rev 72846)
@@ -121,7 +121,7 @@
     def read(self, size=-1):
         if self._closed:
             raise ValueError("I/O operation on closed file")
-        return self._get_stream().read()
+        return self._get_stream().read(size)
 
     def seek(self, offset, whence=0):
         if self._closed:



More information about the Checkins mailing list