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