From 8469d4f02c5b4379665d4ec1b07709d3c8411114 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 6 Dec 2023 15:20:50 +0100 Subject: [PATCH] [EDF29093] : Quick fix resorbed --- src/Container/SALOME_PyNode.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Container/SALOME_PyNode.py b/src/Container/SALOME_PyNode.py index 11dac9676..1bb41877d 100644 --- a/src/Container/SALOME_PyNode.py +++ b/src/Container/SALOME_PyNode.py @@ -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 -- 2.39.2