D2816: hgweb: remove unused **map argument

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Mar 12 17:38:14 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGee395147bb28: hgweb: remove unused **map argument (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2816?vs=6882&id=6946

REVISION DETAIL
  https://phab.mercurial-scm.org/D2816

AFFECTED FILES
  mercurial/hgweb/hgwebdir_mod.py

CHANGE DETAILS

diff --git a/mercurial/hgweb/hgwebdir_mod.py b/mercurial/hgweb/hgwebdir_mod.py
--- a/mercurial/hgweb/hgwebdir_mod.py
+++ b/mercurial/hgweb/hgwebdir_mod.py
@@ -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
 



To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list