D2816: hgweb: remove unused **map argument
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Mon Mar 12 21:16:32 UTC 2018
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
It was unused before the recent code refactoring AFAICT.
REPOSITORY
rHG Mercurial
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
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list