##// END OF EJS Templates
dispatch: enforce bytes when converting boolean flags to config items...
Augie Fackler -
r31305:dc9842a7 default
parent child Browse files
Show More
@@ -747,6 +747,8 b' def _dispatch(req):'
747 747 if options['verbose'] or options['debug'] or options['quiet']:
748 748 for opt in ('verbose', 'debug', 'quiet'):
749 749 val = str(bool(options[opt]))
750 if pycompat.ispy3:
751 val = val.encode('ascii')
750 752 for ui_ in uis:
751 753 ui_.setconfig('ui', opt, val, '--' + opt)
752 754
General Comments 0
You need to be logged in to leave comments. Login now