hgweb: remove unused **map argument
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 11 Mar 2018 10:38:46 -0700
changeset 36900 ee395147bb28
parent 36899 455918512ed2
child 36901 a5c478843c82
hgweb: remove unused **map argument It was unused before the recent code refactoring AFAICT. Differential Revision: https://phab.mercurial-scm.org/D2816
mercurial/hgweb/hgwebdir_mod.py
--- a/mercurial/hgweb/hgwebdir_mod.py	Sun Mar 11 10:37:25 2018 -0700
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sun Mar 11 10:38:46 2018 -0700
@@ -148,7 +148,7 @@
 
     return archives
 
-def rawindexentries(ui, repos, wsgireq, req, subdir='', **map):
+def rawindexentries(ui, repos, wsgireq, req, subdir=''):
     descend = ui.configbool('web', 'descend')
     collapse = ui.configbool('web', 'collapse')
     seenrepos = set()
@@ -274,9 +274,9 @@
         yield row
 
 def indexentries(ui, repos, wsgireq, req, stripecount, sortcolumn='',
-                 descending=False, subdir='', **map):
+                 descending=False, subdir=''):
 
-    rows = rawindexentries(ui, repos, wsgireq, req, subdir=subdir, **map)
+    rows = rawindexentries(ui, repos, wsgireq, req, subdir=subdir)
 
     sortdefault = None, False