##// END OF EJS Templates
templatefuncs: remove redundant "or author" from mailmap return statement...
Connor Sheehan -
r37261:3685a79e default
parent child Browse files
Show More
@@ -184,7 +184,7 b' def mailmap(context, mapping, args):'
184 data = repo.wvfs.tryread('.mailmap')
184 data = repo.wvfs.tryread('.mailmap')
185 cache['mailmap'] = stringutil.parsemailmap(data)
185 cache['mailmap'] = stringutil.parsemailmap(data)
186
186
187 return stringutil.mapname(cache['mailmap'], author) or author
187 return stringutil.mapname(cache['mailmap'], author)
188
188
189 @templatefunc('pad(text, width[, fillchar=\' \'[, left=False]])',
189 @templatefunc('pad(text, width[, fillchar=\' \'[, left=False]])',
190 argspec='text width fillchar left')
190 argspec='text width fillchar left')
General Comments 0
You need to be logged in to leave comments. Login now