changeset 38211:86f980a8cacf

hgweb: wrap {edges} of {nodes} of graph with mappinglist This was a list of mappings.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 04 Apr 2018 20:48:37 +0900
parents fb5803f4fb87
children 0b932b43868f
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Wed Apr 04 20:48:00 2018 +0900
+++ b/mercurial/hgweb/webcommands.py	Wed Apr 04 20:48:37 2018 +0900
@@ -1344,7 +1344,7 @@
             entry.update({'col': vtx[0],
                           'color': (vtx[1] - 1) % 6 + 1,
                           'parity': next(parity),
-                          'edges': edgedata,
+                          'edges': templateutil.mappinglist(edgedata),
                           'row': row,
                           'nextrow': row + 1})