summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-16 16:08:08 +0200
committerhut <hut@lavabit.com>2010-04-16 16:08:08 +0200
commitc2ac48271a06716e449cb260327d7b331898076a (patch)
tree00c99451f1ec63f616dff4712d729fdc5ed5c88d
parentbfac461b7954101296fe95f4d2531174a60df5d2 (diff)
downloadranger-c2ac48271a06716e449cb260327d7b331898076a.tar.gz
keymap: remove unused code
-rw-r--r--ranger/container/keymap.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/ranger/container/keymap.py b/ranger/container/keymap.py
index 50568638..ab87ae36 100644
--- a/ranger/container/keymap.py
+++ b/ranger/container/keymap.py
@@ -151,13 +151,6 @@ class Binding(object):
 			self.function = self.actions[FUNC]
 		except KeyError:
 			self.function = None
-			self.has_direction = False
-		else:
-			argnames = getargspec(self.function)[0]
-			try:
-				self.has_direction = actions['with_direction']
-			except KeyError:
-				self.has_direction = DIRECTION in argnames
 		try:
 			self.direction = self.actions[DIRARG]
 		except KeyError: