mercurial/hgweb/webutil.py
changeset 37916 34f259a1c153
parent 37915 3dc4045db164
child 37949 1129e444fd6c
--- a/mercurial/hgweb/webutil.py	Tue Apr 03 22:55:33 2018 +0900
+++ b/mercurial/hgweb/webutil.py	Tue Apr 03 22:58:33 2018 +0900
@@ -423,7 +423,8 @@
         'phase': ctx.phasestr(),
         'obsolete': ctx.obsolete(),
         'succsandmarkers': succsandmarkers,
-        'instabilities': [{"instability": i} for i in ctx.instabilities()],
+        'instabilities': templateutil.hybridlist(ctx.instabilities(),
+                                                 name='instability'),
         'whyunstable': whyunstable,
         'branch': nodebranchnodefault(ctx),
         'inbranch': nodeinbranch(repo, ctx),