diff --git a/src/GEOM_I/GEOM_DumpPython.cc b/src/GEOM_I/GEOM_DumpPython.cc index b1d252599..cc111d0f9 100644 --- a/src/GEOM_I/GEOM_DumpPython.cc +++ b/src/GEOM_I/GEOM_DumpPython.cc @@ -141,7 +141,8 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy, std::vector::iterator it = objectDataVec.begin(); for( ;it != objectDataVec.end(); it++ ) { - //1. Encode entry + //1. Encode entry + if ( (*it)._studyEntry.Length() < 7 ) continue; std::string tail( (*it)._studyEntry.ToCString(), 6, (*it)._studyEntry.Length()-1 ); std::string newEntry(ComponentDataType()); newEntry+=("_"+tail);