mailr13252 - /branches/gui_testing/relax_io.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 28, 2011 - 10:59:
Author: bugman
Date: Tue Jun 28 10:59:52 2011
New Revision: 13252

URL: http://svn.gna.org/viewcvs/relax?rev=13252&view=rev
Log:
Bug fix for the DummyFileObject class - the last line was not returned by 
readlines() even if it had data.


Modified:
    branches/gui_testing/relax_io.py

Modified: branches/gui_testing/relax_io.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/relax_io.py?rev=13252&r1=13251&r2=13252&view=diff
==============================================================================
--- branches/gui_testing/relax_io.py (original)
+++ branches/gui_testing/relax_io.py Tue Jun 28 10:59:52 2011
@@ -968,8 +968,8 @@
         for i in xrange(len(lines)):
             lines[i] = lines[i] + '\n'
 
-        # Return the file lines (except the last as it is empty).
-        return lines[:-1]
+        # Return the file lines.
+        return lines
 
 
 




Related Messages


Powered by MHonArc, Updated Tue Jun 28 11:40:03 2011