Patchwork D2418: py3: add b'' prefixes to config options in test/badserverext.py

login
register
mail settings
Submitter phabricator
Date Feb. 24, 2018, 12:57 p.m.
Message ID <d3f2546585fcde7aa614c4f4fa2db7ca@localhost.localdomain>
Download mbox | patch
Permalink /patch/28323/
State Not Applicable
Headers show

Comments

phabricator - Feb. 24, 2018, 12:57 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGfb7897e53d49: py3: add b&#039;&#039; prefixes to config options in test/badserverext.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2418?vs=6042&id=6050

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

AFFECTED FILES
  tests/badserverext.py

CHANGE DETAILS




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

Patch

diff --git a/tests/badserverext.py b/tests/badserverext.py
--- a/tests/badserverext.py
+++ b/tests/badserverext.py
@@ -44,16 +44,16 @@ 
 configtable = {}
 configitem = registrar.configitem(configtable)
 
-configitem('badserver', 'closeafteraccept',
+configitem(b'badserver', b'closeafteraccept',
     default=False,
 )
-configitem('badserver', 'closeafterrecvbytes',
+configitem(b'badserver', b'closeafterrecvbytes',
     default=0,
 )
-configitem('badserver', 'closeaftersendbytes',
+configitem(b'badserver', b'closeaftersendbytes',
     default=0,
 )
-configitem('badserver', 'closebeforeaccept',
+configitem(b'badserver', b'closebeforeaccept',
     default=False,
 )