mercurial/hgweb/webcommands.py
changeset 51696 7f0cb9ee0534
parent 51686 493034cc3265
child 51699 ca7bde5dbafb
--- a/mercurial/hgweb/webcommands.py	Mon Jul 22 16:49:38 2024 +0200
+++ b/mercurial/hgweb/webcommands.py	Tue Jul 23 10:02:46 2024 +0200
@@ -601,6 +601,7 @@
 
     def dirlist(context):
         for d in sorted(dirs):
+
             emptydirs = []
             h = dirs[d]
             while isinstance(h, dict) and len(h) == 1:
@@ -1426,7 +1427,7 @@
         return tree
 
     def jsdata(context):
-        for id, type, ctx, vtx, edges in fulltree():
+        for (id, type, ctx, vtx, edges) in fulltree():
             yield {
                 b'node': pycompat.bytestr(ctx),
                 b'graphnode': webutil.getgraphnode(web.repo, ctx),