#NEWLINE# def visitCodeBlock( self , block ) : #NEWLINE# #INDENT# self . buffer ( ( '{%% block %s %%}' % block . name ) ) #NEWLINE# if ( block . mode == 'append' ) : #NEWLINE# #INDENT# self . buffer ( '{{super()}}' ) #NEWLINE# #UNINDENT# self . visitBlock ( block ) #NEWLINE# if ( block . mode == 'prepend' ) : #NEWLINE# #INDENT# self . buffer ( '{{super()}}' ) #NEWLINE# #UNINDENT# self . buffer ( '{% end %}' )