##// END OF EJS Templates
py3: fix map() use in templatekw.showpredecessors()...
Yuya Nishihara -
r38325:523f6446 default
parent child Browse files
Show More
@@ -567,7 +567,7 b' def showpredecessors(context, mapping):'
567 repo = context.resource(mapping, 'repo')
567 repo = context.resource(mapping, 'repo')
568 ctx = context.resource(mapping, 'ctx')
568 ctx = context.resource(mapping, 'ctx')
569 predecessors = sorted(obsutil.closestpredecessors(repo, ctx.node()))
569 predecessors = sorted(obsutil.closestpredecessors(repo, ctx.node()))
570 predecessors = map(hex, predecessors)
570 predecessors = pycompat.maplist(hex, predecessors)
571
571
572 return _hybrid(None, predecessors,
572 return _hybrid(None, predecessors,
573 lambda x: {'ctx': repo[x]},
573 lambda x: {'ctx': repo[x]},
General Comments 0
You need to be logged in to leave comments. Login now