Show More
@@ -821,9 +821,7 b' def _dispatch(req):' | |||||
821 |
|
821 | |||
822 | if options['verbose'] or options['debug'] or options['quiet']: |
|
822 | if options['verbose'] or options['debug'] or options['quiet']: | |
823 | for opt in ('verbose', 'debug', 'quiet'): |
|
823 | for opt in ('verbose', 'debug', 'quiet'): | |
824 | val = str(bool(options[opt])) |
|
824 | val = pycompat.bytestr(bool(options[opt])) | |
825 | if pycompat.ispy3: |
|
|||
826 | val = val.encode('ascii') |
|
|||
827 | for ui_ in uis: |
|
825 | for ui_ in uis: | |
828 | ui_.setconfig('ui', opt, val, '--' + opt) |
|
826 | ui_.setconfig('ui', opt, val, '--' + opt) | |
829 |
|
827 |
General Comments 0
You need to be logged in to leave comments.
Login now