From: eap Date: Fri, 15 Nov 2013 12:44:42 +0000 (+0000) Subject: Regression of SALOME_TESTS/Grids/smesh/dump_study_00/B7 X-Git-Tag: V7_3_0a1~57 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b7eee22ba4d53a945ea0abd8c0dcd2f04ebe5261;p=modules%2Fsmesh.git Regression of SALOME_TESTS/Grids/smesh/dump_study_00/B7 In CheckObjectPresence(), skip print statement --- diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index 44cb333a5..6b3da9a34 100644 --- 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();