equal
deleted
inserted
replaced
494 f = author.find(b'@') |
494 f = author.find(b'@') |
495 return author[:f].replace(b'.', b' ') |
495 return author[:f].replace(b'.', b' ') |
496 |
496 |
497 |
497 |
498 @attr.s(hash=True) |
498 @attr.s(hash=True) |
499 class mailmapping(object): |
499 class mailmapping: |
500 """Represents a username/email key or value in |
500 """Represents a username/email key or value in |
501 a mailmap file""" |
501 a mailmap file""" |
502 |
502 |
503 email = attr.ib() |
503 email = attr.ib() |
504 name = attr.ib(default=None) |
504 name = attr.ib(default=None) |