From abb9e4e9e8315c0a47c8337a3b3105acce4842ff Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 10 Jan 2013 03:52:36 +0100 Subject: config.command: fix default answers for :delete "y" shouldn't be the first answer because Enter would use "y" even though it should use "n" --- ranger/config/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/config/commands.py b/ranger/config/commands.py index c4192d0d..330920cf 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -519,7 +519,7 @@ class delete(Command): if confirm != 'never' and (confirm != 'multiple' or many_files): self.fm.ui.console.ask("Confirm deletion of: %s (y/N)" % ', '.join(f.basename for f in self.fm.thistab.get_selection()), - self._question_callback, ('y', 'n', 'Y', 'N')) + self._question_callback, ('n', 'N', 'y', 'Y')) else: # no need for a confirmation, just delete self.fm.delete() -- cgit 1.4.1-2-gfad0 alue='main'>main Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/cannot_write_tests_for
blob: 444aafd5896ab642425eac418b56ac6a55e986ca (plain) (tree)
1
2
3
4
5
6
7
8
9
10