mailr9532 - /1.3/relax_io.py


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

Header


Content

Posted by edward on September 18, 2009 - 18:26:
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)




Related Messages


Powered by MHonArc, Updated Fri Sep 18 18:40:05 2009