Exemple #1
0
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()
Exemple #2
0
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()
Exemple #3
0
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()
Exemple #4
0
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()
Exemple #5
0
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()
Exemple #6
0
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()