Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PY3] Removing TAB issues
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
smesh.py
diff --git
a/src/SMESH_SWIG/smesh.py
b/src/SMESH_SWIG/smesh.py
index 7538d91a348e17da76c92a718e85434e0cdea06e..d2ae49598cd6d0d2646acbc24dc741b6eb0d869d 100644
(file)
--- a/
src/SMESH_SWIG/smesh.py
+++ b/
src/SMESH_SWIG/smesh.py
@@
-82,8
+82,8
@@
del pluginName
# export the methods of smeshBuilder
if smesh:
for k in dir( smesh ):
# export the methods of smeshBuilder
if smesh:
for k in dir( smesh ):
- if k[0] == '_': continue
- globals()[k] = getattr( smesh, k )
+
if k[0] == '_': continue
+
globals()[k] = getattr( smesh, k )
del k
pass
del k
pass
@@
-95,7
+95,7
@@
smesh.py will be removed in a future version!
TODO:
The following changes in your scripts are required to avoid this message:
TODO:
The following changes in your scripts are required to avoid this message:
-replace
+replace
-------
import smesh, SMESH
-------
import smesh, SMESH
@@
-110,7
+110,7
@@
smesh = smeshBuilder.New(salome.myStudy)
you also need to modify some lines where smeshBuilder is used instead of smesh
you also need to modify some lines where smeshBuilder is used instead of smesh
-algo=smesh.xxxx ==> algo=smeshBuilder.xxxx
+algo=smesh.xxxx ==> algo=smeshBuilder.xxxx
See also SMESH User's Guide for more details
See also SMESH User's Guide for more details