Exemplo n.º 1
0
    def email_to(self):
        """Return the email_to attribute.

        Implemented as a property in order for its initialization
        to be performed only when required.
        """
        if self.__email_to is None:
            self.__email_to = expanded_mailing_list(self.files_changed)
        return self.__email_to
Exemplo n.º 2
0
    def email_to(self):
        """Return the email_to attribute.

        Implemented as a property in order for its initialization
        to be performed only when required.
        """
        if self.__email_to is None:
            self.__email_to = expanded_mailing_list(self.files_changed)
        return self.__email_to
Exemplo n.º 3
0
    def email_to(self, ref_name):
        """Return this commit's list of email recipients.

        Returns a list of email addresses, in RFC 822 format.

        PARAMETERS
            ref_name: The name of the reference being updated.

        Implemented as a property in order for its initialization
        to be performed only when required.
        """
        if ref_name not in self.__email_to:
            self.__email_to[ref_name] = expanded_mailing_list(
                ref_name, self.files_changed)
        return self.__email_to[ref_name]
Exemplo n.º 4
0
 def everyone_emails(self):
     """Return the list of email addresses listing everyone possible.
     """
     return expanded_mailing_list(self.ref_name, None)
Exemplo n.º 5
0
 def everyone_emails(self):
     """Return the list of email addresses listing everyone possible.
     """
     return expanded_mailing_list(None)