#NEWLINE# def getConditional( self , name ) : #NEWLINE# #INDENT# assert isinstance ( name , str ) #NEWLINE# for c in self . conditionals : #NEWLINE# #INDENT# if ( c . name == name ) : #NEWLINE# #INDENT# return name #NEWLINE# #UNINDENT# #UNINDENT# raise CompilationException ( True , 'Could not locate conditional named {0}' , name )