]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF29093] : Quick fix resorbed
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 6 Dec 2023 14:20:50 +0000 (15:20 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 6 Dec 2023 14:20:50 +0000 (15:20 +0100)
src/Container/SALOME_PyNode.py

index 11dac96765a2edc6fba0284c26eab3493b3e7005..1bb41877d1db9f41a55fed7dc982365fc391d531 100644 (file)
@@ -151,8 +151,6 @@ def IncrRefInFile(fname):
 
 def DecrRefInFile(fname):
   import os
-  if not os.path.isfile(fname):
-    return
   with open(fname,"rb") as f:
     cntb = f.read( GetSizeOfTCnt() )
   cnt = TypeCounter.from_buffer_copy( cntb ).value