#NEWLINE# def __init__( self , extra_vars_func = None , options = None ) : #NEWLINE# #INDENT# if ( options is None ) : #NEWLINE# #INDENT# options = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# new_syntax = options . get ( 'genshi.new_text_syntax' ) #NEWLINE# if isinstance ( new_syntax , str ) : #NEWLINE# #INDENT# new_syntax = ( new_syntax . lower ( ) in ( '1' , 'on' , 'yes' , 'true' ) ) #NEWLINE# #UNINDENT# if new_syntax : #NEWLINE# #INDENT# self . template_class = NewTextTemplate #NEWLINE# #UNINDENT# AbstractTemplateEnginePlugin . __init__ ( self , extra_vars_func , options )