Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix incorrect naming of features and results when import (same name of feature and...
[modules/shaper.git]
/
src
/
PythonAPI
/
model
/
exchange
/
tools.py
diff --git
a/src/PythonAPI/model/exchange/tools.py
b/src/PythonAPI/model/exchange/tools.py
index f6b9c6a71f0bc5794a699bff30b233167beef7a7..a80db1b29ab66fd3a2ce516e943680f00dfe5daf 100644
(file)
--- a/
src/PythonAPI/model/exchange/tools.py
+++ b/
src/PythonAPI/model/exchange/tools.py
@@
-18,12
+18,6
@@
#
import os
-import tempfile
-
-# Generate temporary file name
-def tempFileName():
- tempDir = tempfile.TemporaryDirectory()
- return os.path.join(tempDir.name, "temp.shaperpart")
def removeFile(theFilename):
try: os.remove(theFilename)