def update_feedback_email_retries(user_id):
 model = feedback_models.UnsentFeedbackEmailModel.get(user_id)
 time_since_buffered = (datetime.datetime.utcnow() - model.created_on).seconds
 if (time_since_buffered > feconf.DEFAULT_FEEDBACK_MESSAGE_EMAIL_COUNTDOWN_SECS):
  model.retries += 1
  model.put()

def update_feedback_email_retries ( user_id ) : model = feedback_models . UnsentFeedbackEmailModel . get ( user_id ) time_since_buffered = ( datetime . datetime . utcnow ( ) - model . created_on ) . seconds if ( time_since_buffered > feconf . DEFAULT_FEEDBACK_MESSAGE_EMAIL_COUNTDOWN_SECS ) : model . retries += 1 model . put ( )
if sufficient time has passed .