Regression of SALOME_TESTS/Grids/smesh/dump_study_00/B7

In CheckObjectPresence(), skip print statement
This commit is contained in:
eap 2013-11-15 12:44:42 +00:00
parent 1872ac43e1
commit b7eee22ba4

View File

@ -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();