From c2ac48271a06716e449cb260327d7b331898076a Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 16 Apr 2010 16:08:08 +0200 Subject: keymap: remove unused code --- ranger/container/keymap.py | 7 ------- 1 file changed, 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: -- cgit 1.4.1-2-gfad0