Fix generation of Attributes header

This commit is contained in:
Magne Sjaastad 2020-03-14 09:36:43 +01:00
parent db052ec3d4
commit 30eafceef4

View File

@ -327,7 +327,7 @@ QString PdmPythonGenerator::generate( PdmObjectFactory* factory ) const
}
if ( !classAttributesGenerated[classKeyword].empty() )
{
classCode += " Attributes\n";
classCode += " Attributes:\n";
for ( auto keyWordValuePair : classAttributesGenerated[classKeyword] )
{
classCode += " " + keyWordValuePair.second.second;