#NEWLINE# def generate_mgp( self , d , fileNameGenerator = None ) : #NEWLINE# #INDENT# template = d . get ( 'template' , 'template.mgp' ) #NEWLINE# df = ( lambda file , linkrel : convertFile ( file , MagicpointOutput , template , ext = '.mgp' ) ) #NEWLINE# return df