mercurial/ui.py
changeset 18054 b35e3364f94a
parent 17424 e7cfe3587ea4
child 18669 18242716a014
--- a/mercurial/ui.py	Sun Dec 09 23:33:16 2012 +0100
+++ b/mercurial/ui.py	Sun Dec 09 23:33:16 2012 +0100
@@ -613,7 +613,7 @@
         ('&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]
+        resps = [s[s.index('&') + 1].lower() for s in choices]
         while True:
             r = self.prompt(msg, resps[default])
             if r.lower() in resps: