diff options
author | hut <hut@lavabit.com> | 2010-04-16 16:08:08 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-16 16:08:08 +0200 |
commit | c2ac48271a06716e449cb260327d7b331898076a (patch) | |
tree | 00c99451f1ec63f616dff4712d729fdc5ed5c88d /ranger | |
parent | bfac461b7954101296fe95f4d2531174a60df5d2 (diff) | |
download | ranger-c2ac48271a06716e449cb260327d7b331898076a.tar.gz |
keymap: remove unused code
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/container/keymap.py | 7 |
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: |