Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e47efe9
)
Don't remove filedict twice.
author
Ovidiu MIRCESCU
<ovidiu.mircescu@edf.fr>
Tue, 6 Jul 2021 07:11:46 +0000
(09:11 +0200)
committer
Ovidiu MIRCESCU
<ovidiu.mircescu@edf.fr>
Tue, 6 Jul 2021 07:11:46 +0000
(09:11 +0200)
bin/killSalomeWithPort.py
patch
|
blob
|
history
diff --git
a/bin/killSalomeWithPort.py
b/bin/killSalomeWithPort.py
index d30d030b9739706eb830df48a042b0c96f4a53c6..59a6c2b93e5c3292be19191a1d2f20a0b31ca89d 100755
(executable)
--- a/
bin/killSalomeWithPort.py
+++ b/
bin/killSalomeWithPort.py
@@
-271,7
+271,10
@@
def __killMyPort(port, filedict):
__killPids(pids)
# finally remove pidict file
- os.remove(filedict)
+ try:
+ os.remove(filedict)
+ except:
+ pass
def __guessPiDictFilename(port):
"""