Mercurial > hg
changeset 36211:30cc9f9780df
py3: add b'' to config options in test extension
# skip-blame because just b'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D2272
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 14 Feb 2018 17:21:42 -0700 |
parents | 5c9bdfb32eac |
children | 7a46f0735904 |
files | tests/sshprotoext.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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."""