summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-15 00:39:18 +0200
committerhut <hut@lavabit.com>2011-10-15 00:39:18 +0200
commit9c37875e4cf983ec4dece175728d78350b7737c6 (patch)
treebf812da459545060742af34eee20cc2fb34aba03
parent531d8b2def5fcf43d70819c86fc612028ca98f4d (diff)
downloadranger-9c37875e4cf983ec4dece175728d78350b7737c6.tar.gz
ext.keybindings_parser: fixed --list-unused-keys
-rw-r--r--ranger/ext/keybinding_parser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/ext/keybinding_parser.py b/ranger/ext/keybinding_parser.py
index d03d6ed1..295855fb 100644
--- a/ranger/ext/keybinding_parser.py
+++ b/ranger/ext/keybinding_parser.py
@@ -68,7 +68,7 @@ for n in range(64):
 
 special_keys.update(very_special_keys)
 del very_special_keys
-reverse_special_keys = dict((v, k) for k, v in special_keys.items())
+reversed_special_keys = dict((v, k) for k, v in special_keys.items())
 
 
 def parse_keybinding(obj):
@@ -129,8 +129,8 @@ def construct_keybinding(iterable):
 def key_to_string(key):
 	if key in range(33, 127):
 		return chr(key)
-	if key in reverse_special_keys:
-		return "<%s>" % reverse_special_keys[key]
+	if key in reversed_special_keys:
+		return "<%s>" % reversed_special_keys[key]
 	return "<%s>" % str(key)
 
 
42a5b6dfeb31c88e1f06'>06848dc3 ^
240394a4 ^
f027adc0 ^
08f08fb9 ^
654af129 ^
08f08fb9 ^
d8084b41 ^

99400080 ^
08f08fb9 ^

654af129 ^

0da832e8 ^
d8084b41 ^
cba63cf3 ^
b4250dbc ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40