Patchwork D2305: webcommands: use pycompat.strkwargs as needed

login
register
mail settings
Submitter phabricator
Date Feb. 18, 2018, 5:36 a.m.
Message ID <differential-rev-PHID-DREV-ocae3m4t3x47x2wcrqsm-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/28046/
State Superseded
Headers show

Comments

phabricator - Feb. 18, 2018, 5:36 a.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/hgweb/webcommands.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py
+++ b/mercurial/hgweb/webcommands.py
@@ -561,7 +561,7 @@ 
                 fentries=filelist,
                 dentries=dirlist,
                 archives=web.archivelist(hex(node)),
-                **webutil.commonentry(web.repo, ctx))
+                **pycompat.strkwargs(webutil.commonentry(web.repo, ctx)))
 
 @webcommand('tags')
 def tags(web, req, tmpl):