def _send_missing_dependency(http_request, change): if _send_once(change, 'emailed_missing_dependency'): msg = email.send_change_message(http_request, change, "mails/missing_dependency.txt", None, None) if msg: msg.put()
def _send_path_conflict(http_request, change): if _send_once(change, 'emailed_path_conflict'): msg = email.send_change_message(http_request, change, "mails/path_conflict.txt", None, None) if msg: msg.put()
def _send_clean_merge(http_request, change): if _send_once(change, 'emailed_clean_merge'): additional_to = [] settings = models.Settings.get_settings() if settings.merge_log_email: additional_to.append(settings.merge_log_email) msg = email.send_change_message(http_request, change, "mails/clean_merge.txt", None, None, additional_to=additional_to) if msg: msg.put()