#NEWLINE# def form_with_recaptcha( form ) : #NEWLINE# #INDENT# should_have_recaptcha = ( cache . get_auth_attempt ( ) >= config . RECAPTCHA_LIMIT ) #NEWLINE# if ( not ( should_have_recaptcha and config . CONFIG_DB . has_recaptcha ) ) : #NEWLINE# #INDENT# del form . recaptcha #NEWLINE# #UNINDENT# return should_have_recaptcha