Skip to content
Snippets Groups Projects
Commit 3685a79e authored by Connor Sheehan's avatar Connor Sheehan
Browse files

templatefuncs: remove redundant "or author" from mailmap return statement

Differential Revision: https://phab.mercurial-scm.org/D3001
parent 3e293808
No related merge requests found
......@@ -184,7 +184,7 @@
data = repo.wvfs.tryread('.mailmap')
cache['mailmap'] = stringutil.parsemailmap(data)
return stringutil.mapname(cache['mailmap'], author) or author
return stringutil.mapname(cache['mailmap'], author)
@templatefunc('pad(text, width[, fillchar=\' \'[, left=False]])',
argspec='text width fillchar left')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment