#NEWLINE# def generateInitializeMetadata( self , serializer ) : #NEWLINE# #INDENT# assert isinstance ( serializer , programSerializer . ProgramSerializer ) #NEWLINE# serializer . blockStart ( ) #NEWLINE# for h in serializer . metadata : #NEWLINE# #INDENT# serializer . emitIndent ( ) #NEWLINE# serializer . appendFormat ( '.{0} = ' , h . name ) #NEWLINE# h . emitInitializer ( serializer ) #NEWLINE# serializer . appendLine ( ',' ) #NEWLINE# #UNINDENT# serializer . blockEnd ( False )