#NEWLINE# def validate( self , value ) : #NEWLINE# #INDENT# val = super ( List , self ) . validate ( self ) #NEWLINE# if ( val is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( not isinstance ( val , ( set , list , tuple ) ) ) : #NEWLINE# #INDENT# raise ValidationError ( '{0} {1} is not a list object' . format ( self . column_name , val ) ) #NEWLINE# #UNINDENT# if ( None in val ) : #NEWLINE# #INDENT# raise ValidationError ( '{0} None is not allowed in a list' . format ( self . column_name ) ) #NEWLINE# #UNINDENT# return [ self . value_col . validate ( v ) for v in val ]