py3: add b'' to config options in test extension
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 14 Feb 2018 17:21:42 -0700
changeset 36211 30cc9f9780df
parent 36210 5c9bdfb32eac
child 36212 7a46f0735904
py3: add b'' to config options in test extension # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D2272
tests/sshprotoext.py
--- a/tests/sshprotoext.py	Tue Feb 13 14:15:29 2018 -0800
+++ b/tests/sshprotoext.py	Wed Feb 14 17:21:42 2018 -0700
@@ -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."""