From: Camille GOUTTEBROZE Date: Thu, 17 Apr 2014 12:05:57 +0000 (+0200) Subject: Closing a file before removing it X-Git-Tag: V7_4_0rc1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e34e6bf3ca364cb741cfa36aaf36bf79baea2041;p=modules%2Fmed.git Closing a file before removing it --- diff --git a/src/MEDLoader/Swig/SauvLoaderTest.py b/src/MEDLoader/Swig/SauvLoaderTest.py index 8d7c0e1b5..7d45a72ec 100644 --- a/src/MEDLoader/Swig/SauvLoaderTest.py +++ b/src/MEDLoader/Swig/SauvLoaderTest.py @@ -382,6 +382,7 @@ class SauvLoaderTest(unittest.TestCase): pass line=f.readline() pass + f.close() os.remove(sauvFile) pass