#NEWLINE# def visit_callfunc( self , node ) : #NEWLINE# #INDENT# if self . _is_form_class : #NEWLINE# #INDENT# ass_name = next ( node . parent . get_children ( ) ) #NEWLINE# if isinstance ( val , AssName ) : #NEWLINE# #INDENT# field_name = ass_name . name #NEWLINE# val = safe_infer ( node ) #NEWLINE# if ( ( val is not None ) and ( val is not YES ) ) : #NEWLINE# #INDENT# if val . is_subtype_of ( 'django.forms.fields.Field' ) : #NEWLINE# #INDENT# if ( field_name in self . _form_field_names ) : #NEWLINE# #INDENT# self . add_message ( 'form-field-redefinition' , node = ass_name , args = ( self . _form_name , field_name ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _form_field_names . add ( field_name )