py3: add b'' prefixes in doc/check-seclevel.py
# skip-blame because just b'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D5670
--- 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):