Author: bugman Date: Fri Sep 18 18:26:40 2009 New Revision: 9532 URL: http://svn.gna.org/viewcvs/relax?rev=9532&view=rev Log: Bug fix for the delete function. The function was failing if the file was missing! Modified: 1.3/relax_io.py Modified: 1.3/relax_io.py URL: http://svn.gna.org/viewcvs/relax/1.3/relax_io.py?rev=9532&r1=9531&r2=9532&view=diff ============================================================================== --- 1.3/relax_io.py (original) +++ 1.3/relax_io.py Fri Sep 18 18:26:40 2009 @@ -74,6 +74,8 @@ file_path = file_path + '.gz' elif fail: raise RelaxFileError(file_path) + else: + return # Remove the file. remove(file_path)