#NEWLINE# def _validate( self , args , i ) : #NEWLINE# #INDENT# validated = False #NEWLINE# for t in t . types : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# arg = t . validate ( args , i ) #NEWLINE# validated = True #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# if ( not validated ) : #NEWLINE# #INDENT# raise IbisTypeError ( 'No type options validated' ) #NEWLINE# #UNINDENT# return arg