Mercurial > hg-stable
changeset 14618:110d75f0abb3
dispatch: fix for-loop variable name
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Tue, 14 Jun 2011 20:25:38 +0300 |
parents | 23f4e1e40988 |
children | 29f55c0e39e7 |
files | mercurial/dispatch.py |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/dispatch.py Tue Jun 14 13:29:25 2011 +0200 +++ b/mercurial/dispatch.py Tue Jun 14 20:25:38 2011 +0300 @@ -593,20 +593,20 @@ atexit.register(print_time) if options['verbose'] or options['debug'] or options['quiet']: - for ui in (ui, lui): - ui.setconfig('ui', 'verbose', str(bool(options['verbose']))) - ui.setconfig('ui', 'debug', str(bool(options['debug']))) - ui.setconfig('ui', 'quiet', str(bool(options['quiet']))) + for ui_ in (ui, lui): + ui_.setconfig('ui', 'verbose', str(bool(options['verbose']))) + ui_.setconfig('ui', 'debug', str(bool(options['debug']))) + ui_.setconfig('ui', 'quiet', str(bool(options['quiet']))) if options['traceback']: - for ui in (ui, lui): - ui.setconfig('ui', 'traceback', 'on') + for ui_ in (ui, lui): + ui_.setconfig('ui', 'traceback', 'on') if options['noninteractive']: - for ui in (ui, lui): - ui.setconfig('ui', 'interactive', 'off') + for ui_ in (ui, lui): + ui_.setconfig('ui', 'interactive', 'off') if cmdoptions.get('insecure', False): - for ui in (ui, lui): - ui.setconfig('web', 'cacerts', '') + for ui_ in (ui, lui): + ui_.setconfig('web', 'cacerts', '') if options['help']: return commands.help_(ui, cmd, options['version'])