summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-01 22:10:23 +0200
committerhut <hut@lavabit.com>2011-10-01 22:10:23 +0200
commit180c06ffc85989f5911e1495ffd7cf13cd7da525 (patch)
tree54c9f92a8cd94c435287b0ef75614a88a56dfe3b /ranger
parent6059e03b3da9eea322d7bf28817fb3b035b7bf34 (diff)
downloadranger-180c06ffc85989f5911e1495ffd7cf13cd7da525.tar.gz
core.main: fixed --list-unused-keys in python3.2
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/main.py b/ranger/core/main.py
index 6ebe4468..6595fbf2 100644
--- a/ranger/core/main.py
+++ b/ranger/core/main.py
@@ -82,7 +82,7 @@ def main():
 			from ranger.ext.keybinding_parser import special_keys
 			maps = fm.env.keymaps['browser']
 			reversed_special_keys = dict((v,k) for k,v in special_keys.items())
-			for key in sorted(special_keys.values()):
+			for key in sorted(special_keys.values(), key=lambda x: str(x)):
 				if key not in maps:
 					print("<%s>" % reversed_special_keys[key])
 			for key in range(33, 127):