Mercurial > hg-stable
diff mercurial/ui.py @ 9312:c5f0825c1dbb
kill trailing whitespace
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 05 Aug 2009 17:08:28 +0200 |
parents | 6adc899c98d0 |
children | 3fb8c6dbeeec |
line wrap: on
line diff
--- a/mercurial/ui.py Wed Aug 05 15:00:44 2009 +0200 +++ b/mercurial/ui.py Wed Aug 05 17:08:28 2009 +0200 @@ -288,7 +288,7 @@ """Prompt user with msg, read response, and ensure it matches one of the provided choices. The index of the choice is returned. choices is a sequence of acceptable responses with the format: - ('&None', 'E&xec', 'Sym&link') Responses are case insensitive. + ('&None', 'E&xec', 'Sym&link') Responses are case insensitive. If ui is not interactive, the default is returned. """ resps = [s[s.index('&')+1].lower() for s in choices]