py3: add b'' prefixes in doc/check-seclevel.py
authorPulkit Goyal <pulkit@yandex-team.ru>
Thu, 24 Jan 2019 18:09:34 +0300
changeset 41355 77763dc5b07b
parent 41354 93a7539a546e
child 41356 23c80ce166f1
py3: add b'' prefixes in doc/check-seclevel.py # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D5670
doc/check-seclevel.py
--- a/doc/check-seclevel.py	Thu Jan 24 15:52:59 2019 -0500
+++ b/doc/check-seclevel.py	Thu Jan 24 18:09:34 2019 +0300
@@ -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):