changeset 41377:77763dc5b07b

py3: add b'' prefixes in doc/check-seclevel.py # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D5670
author Pulkit Goyal <pulkit@yandex-team.ru>
date Thu, 24 Jan 2019 18:09:34 +0300
parents 93a7539a546e
children 23c80ce166f1
files doc/check-seclevel.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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):