~rashi007/mailman/docsfix

« back to all changes in this revision

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

  • Committer: Barry Warsaw
  • Date: 2014-11-08 15:27:56 UTC
  • mfrom: (7255 3.0)
  • mto: This revision was merged to the branch mainline in revision 7260.
  • Revision ID: barry@list.org-20141108152756-p37fhmb0z2dtl7hx
Trunk merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
        log.info('[ConnectionCountingServer] accepted: %s', address)
162
162
        StatisticsChannel(self, connection, address)
163
163
 
 
164
    def process_message(self, peer, mailfrom, rcpttos, data):
 
165
        # Provide a guaranteed order to recpttos.
 
166
        QueueServer.process_message(
 
167
            self, peer, mailfrom, sorted(rcpttos), data)
 
168
 
164
169
    def reset(self):
165
170
        """See `lazr.smtp.server.Server`."""
166
171
        QueueServer.reset(self)