[Python-checkins] python/dist/src/Lib codecs.py,1.34,1.35

perky at users.sourceforge.net perky at users.sourceforge.net
Mon Oct 18 01:51:23 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27701/Lib

Modified Files:
	codecs.py 
Log Message:
SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()


Index: codecs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/codecs.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- codecs.py	7 Sep 2004 20:24:04 -0000	1.34
+++ codecs.py	17 Oct 2004 23:51:21 -0000	1.35
@@ -334,7 +334,7 @@
 
         """
         data = self.read()
-        return self.splitlines(keepends)
+        return data.splitlines(keepends)
 
     def reset(self):
 



More information about the Python-checkins mailing list