Patchwork D8385: hgk: remove a "b" used on a kwargs expansion, the keys are strs

login
register
mail settings
Submitter phabricator
Date April 6, 2020, 10:21 p.m.
Message ID <differential-rev-PHID-DREV-n6lp4ih3si2u6fywjrct-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46033/
State Superseded
Headers show

Comments

phabricator - April 6, 2020, 10:21 p.m.
spectral created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  hgext/hgk.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/hgk.py b/hgext/hgk.py
--- a/hgext/hgk.py
+++ b/hgext/hgk.py
@@ -358,7 +358,7 @@ 
 )
 def revlist(ui, repo, *revs, **opts):
     """print revisions"""
-    if opts[b'header']:
+    if opts['header']:
         full = b"commit"
     else:
         full = None