Patchwork D5670: py3: add b'' prefixes in doc/check-seclevel.py

login
register
mail settings
Submitter phabricator
Date Jan. 25, 2019, 10:44 a.m.
Message ID <4f8a1891b6d042b7b403735157e654d9@localhost.localdomain>
Download mbox | patch
Permalink /patch/38015/
State Not Applicable
Headers show

Comments

phabricator - Jan. 25, 2019, 10:44 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG77763dc5b07b: py3: add b&#039;&#039; prefixes in doc/check-seclevel.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5670?vs=13388&id=13443

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

AFFECTED FILES
  doc/check-seclevel.py

CHANGE DETAILS




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

Patch

diff --git a/doc/check-seclevel.py b/doc/check-seclevel.py
--- a/doc/check-seclevel.py
+++ b/doc/check-seclevel.py
@@ -163,8 +163,8 @@ 
     (options, args) = optparser.parse_args()
 
     ui = uimod.ui.load()
-    ui.setconfig('ui', 'verbose', options.verbose, '--verbose')
-    ui.setconfig('ui', 'debug', options.debug, '--debug')
+    ui.setconfig(b'ui', b'verbose', options.verbose, b'--verbose')
+    ui.setconfig(b'ui', b'debug', options.debug, b'--debug')
 
     if options.file:
         if checkfile(ui, options.file, options.initlevel):