Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1872ac4
)
Regression of SALOME_TESTS/Grids/smesh/dump_study_00/B7
author
eap
<eap@opencascade.com>
Fri, 15 Nov 2013 12:44:42 +0000
(12:44 +0000)
committer
eap
<eap@opencascade.com>
Fri, 15 Nov 2013 12:44:42 +0000
(12:44 +0000)
In CheckObjectPresence(), skip print statement
src/SMESH_I/SMESH_2smeshpy.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_2smeshpy.cxx
b/src/SMESH_I/SMESH_2smeshpy.cxx
index 44cb333a54b7403ab4ef7c0652a3331984f94154..6b3da9a340f8a08fd7e8ac91c37608c0294fd79a 100644
(file)
--- a/
src/SMESH_I/SMESH_2smeshpy.cxx
+++ b/
src/SMESH_I/SMESH_2smeshpy.cxx
@@
-201,6
+201,9
@@
namespace {
_AString comment;
_pyID obj = cmd->GetObject();
+ if ( obj.Search( "print " ) == 1 )
+ return; // print statement
+
if ( !obj.IsEmpty() && obj.Value( obj.Length() ) == ')' )
// remove an accessor method
obj = _pyCommand( obj ).GetObject();