Litt bedre formatering av y/n i confirm.

This commit is contained in:
Øystein Ingmar Skartsæterhagen 2010-05-16 13:13:58 +00:00
parent e162f415be
commit 5dbf13ea68
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ class ConfirmMenu(Menu):
self.default=default
def _execute(self):
options = {True: 'Y/n', False: 'y/N', None: 'y/n'}[self.default]
options = {True: '[y]/n', False: 'y/[n]', None: 'y/n'}[self.default]
while True:
result = self.input_str('%s (%s) ' % (self.prompt, options))
result = result.lower()