#NEWLINE# def validate_email_( obj , ret , val , ctx ) : #NEWLINE# #INDENT# if ( not validate_email ( ret ) ) : #NEWLINE# #INDENT# raise ValidationError ( '{0} is not a valid email for {1}' . format ( ret , obj ) ) #NEWLINE# #UNINDENT# return val