From: Anthony Geay Date: Wed, 6 Dec 2023 14:20:50 +0000 (+0100) Subject: [EDF29093] : Quick fix resorbed X-Git-Tag: emc2p_1.4.0-rc1_oam~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8469d4f02c5b4379665d4ec1b07709d3c8411114;p=modules%2Fkernel.git [EDF29093] : Quick fix resorbed --- 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