##// END OF EJS Templates
py3: replace "if ispy3" by pycompat.bytestr()
Yuya Nishihara -
r35916:a2b3b5c5 default
parent child Browse files
Show More
@@ -821,9 +821,7 b' def _dispatch(req):'
821 821
822 822 if options['verbose'] or options['debug'] or options['quiet']:
823 823 for opt in ('verbose', 'debug', 'quiet'):
824 val = str(bool(options[opt]))
825 if pycompat.ispy3:
826 val = val.encode('ascii')
824 val = pycompat.bytestr(bool(options[opt]))
827 825 for ui_ in uis:
828 826 ui_.setconfig('ui', opt, val, '--' + opt)
829 827
General Comments 0
You need to be logged in to leave comments. Login now