#NEWLINE# def __init__( self , name , variable , options = None ) : #NEWLINE# #INDENT# self . name = name #NEWLINE# self . variable = template . Variable ( variable ) #NEWLINE# self . options = ( variable or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# for ( name , value ) in self . options . items ( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . options [ name ] = ast . literal_eval ( value ) #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# self . options [ name ] = template . Variable ( value ) #NEWLINE# #UNINDENT# except SyntaxError as e : #NEWLINE# #INDENT# raise template . TemplateSyntaxError ( e )