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:
l instructions' href='/akspecs/ranger/commit/INSTALL?h=v1.5.5&id=f51bd48a141e4886a48c4f3d498a1c329bbaf193'>f51bd48a ^
7582555b ^







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
41
42
43
44
45