#NEWLINE# def get_potential_errors( self ) : #NEWLINE# #INDENT# if isinstance ( self . widget , widgets . CheckboxSelectMultiple ) : #NEWLINE# #INDENT# errors = self . get_multiple_choices_required ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# errors = self . get_input_required_errors ( ) #NEWLINE# #UNINDENT# return self