Patchwork D2272: py3: add b'' to config options in test extension

login
register
mail settings
Submitter phabricator
Date Feb. 15, 2018, 12:42 a.m.
Message ID <differential-rev-PHID-DREV-oy3eqeuj6fvnhyq5f66v-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/27934/
State Superseded
Headers show

Comments

phabricator - Feb. 15, 2018, 12:42 a.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame because just b'' prefixes

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/sshprotoext.py

CHANGE DETAILS




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

Patch

diff --git a/tests/sshprotoext.py b/tests/sshprotoext.py
--- a/tests/sshprotoext.py
+++ b/tests/sshprotoext.py
@@ -22,8 +22,8 @@ 
 configtable = {}
 configitem = registrar.configitem(configtable)
 
-configitem('sshpeer', 'mode', default=None)
-configitem('sshpeer', 'handshake-mode', default=None)
+configitem(b'sshpeer', b'mode', default=None)
+configitem(b'sshpeer', b'handshake-mode', default=None)
 
 class bannerserver(wireprotoserver.sshserver):
     """Server that sends a banner to stdout."""