summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-16 17:57:39 +0200
committerhut <hut@lavabit.com>2010-04-16 17:57:39 +0200
commit02e1d359fc8c6e94c11d30ffce21dada0f34766f (patch)
treed63e5c9329a5f2a399b3dc56bae3cf5e70acce8b /ranger
parent0ce5da79d5e919fce3687c628493273e679e1482 (diff)
downloadranger-02e1d359fc8c6e94c11d30ffce21dada0f34766f.tar.gz
container.keybuffer: use set for digitlist
Diffstat (limited to 'ranger')
-rw-r--r--ranger/container/keybuffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/container/keybuffer.py b/ranger/container/keybuffer.py
index 0f19a341..23b82a16 100644
--- a/ranger/container/keybuffer.py
+++ b/ranger/container/keybuffer.py
@@ -21,7 +21,7 @@ from ranger.ext.keybinding_parser import parse_keybinding, \
 from ranger.container.keymap import Binding, KeyMap # mainly for assertions
 
 MAX_ALIAS_RECURSION = 20
-digitlist = [ord(n) for n in digits]
+digitlist = set(ord(n) for n in digits)
 
 class KeyBuffer(object):
 	"""The evaluator and storage for pressed keys"""