~dushyant37/mailman/archiver-mm3

« back to all changes in this revision

Viewing changes to src/mailman/mta/aliases.py

  • Committer: Barry Warsaw
  • Date: 2011-06-16 20:46:02 UTC
  • Revision ID: barry@list.org-20110616204602-aksxe3k7irjmrzzs
 * The IMailingList attribute ``host_name`` has been renamed to ``mail_host``
   for consistency.  This changes the REST API for mailing list
   resources. (LP: #787599)

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        # Always return
54
54
        yield mlist.posting_address
55
55
        for destination in sorted(SUBDESTINATIONS):
56
 
            yield '{0}-{1}@{2}'.format(mlist.list_name,
57
 
                                       destination,
58
 
                                       mlist.host_name)
 
56
            yield '{0}-{1}@{2}'.format(
 
57
                mlist.list_name, destination, mlist.mail_host)
59
58
 
60
59
    def destinations(self, mlist):
61
60
        """See `IMailTransportAgentAliases`."""