mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 21:20:33 +05:00
Regression of SALOME_TESTS/Grids/smesh/dump_study_00/B7
In CheckObjectPresence(), skip print statement
This commit is contained in:
parent
1872ac43e1
commit
b7eee22ba4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user