##// END OF EJS Templates
dispatch: fix for-loop variable name
Idan Kamara -
r14618:110d75f0 default
parent child Browse files
Show More
@@ -593,20 +593,20 b' def _dispatch(req):'
593 593 atexit.register(print_time)
594 594
595 595 if options['verbose'] or options['debug'] or options['quiet']:
596 for ui in (ui, lui):
597 ui.setconfig('ui', 'verbose', str(bool(options['verbose'])))
598 ui.setconfig('ui', 'debug', str(bool(options['debug'])))
599 ui.setconfig('ui', 'quiet', str(bool(options['quiet'])))
596 for ui_ in (ui, lui):
597 ui_.setconfig('ui', 'verbose', str(bool(options['verbose'])))
598 ui_.setconfig('ui', 'debug', str(bool(options['debug'])))
599 ui_.setconfig('ui', 'quiet', str(bool(options['quiet'])))
600 600 if options['traceback']:
601 for ui in (ui, lui):
602 ui.setconfig('ui', 'traceback', 'on')
601 for ui_ in (ui, lui):
602 ui_.setconfig('ui', 'traceback', 'on')
603 603 if options['noninteractive']:
604 for ui in (ui, lui):
605 ui.setconfig('ui', 'interactive', 'off')
604 for ui_ in (ui, lui):
605 ui_.setconfig('ui', 'interactive', 'off')
606 606
607 607 if cmdoptions.get('insecure', False):
608 for ui in (ui, lui):
609 ui.setconfig('web', 'cacerts', '')
608 for ui_ in (ui, lui):
609 ui_.setconfig('web', 'cacerts', '')
610 610
611 611 if options['help']:
612 612 return commands.help_(ui, cmd, options['version'])
General Comments 0
You need to be logged in to leave comments. Login now