Ticket #1917: mail_1917.diff

File mail_1917.diff, 866 bytes (added by therve, 10 years ago)
  • twisted/mail/mail.py

     
    6262        return len(self.domains)
    6363
    6464    def __str__(self):
    65         return '<DomainWithDefaultsDict %s>' % (self.domains,)
     65        return '<DomainWithDefaultDict %s>' % (self.domains,)
    6666
    6767    def __repr__(self):
    68         return 'DomainWithDefaultsDict(%s)>' % (self.domains,)
     68        return 'DomainWithDefaultDict(%s)>' % (self.domains,)
    6969
    7070    def get(self, key, default=None):
    7171        return self.domains.get(key, default)
    7272
    7373    def copy(self):
    74         return DomainWithDefaultsDict(self.domains.copy(), self.default)
     74        return DomainWithDefaultDict(self.domains.copy(), self.default)
    7575
    7676    def iteritems(self):
    7777        return self.domains.iteritems()