Bug #912858: test_authors_up_to_date does not deal with capitalized names properly
ensure we are not fooled by capitalized names, by turning emails and names into lower cases before the matching. Change-Id: Idbb8535174c0f1451ad6fd0628f35508f0f1e466
This commit is contained in:
parent
f9409a8f24
commit
8f283c3bb7
@ -544,7 +544,7 @@ def parse_mailmap(mailmap='.mailmap'):
|
||||
l = l.strip()
|
||||
if not l.startswith('#') and ' ' in l:
|
||||
canonical_email, alias = l.split(' ')
|
||||
mapping[alias] = canonical_email
|
||||
mapping[alias.lower()] = canonical_email.lower()
|
||||
return mapping
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user