diff options
author | hut <hut@lavabit.com> | 2010-03-12 17:59:45 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-12 17:59:45 +0100 |
commit | 5ebb8ef628563f33abf6b72b47afe19b8efc0694 (patch) | |
tree | f648a63c16e925beefaad39560bf6cd92087890f | |
parent | e5b45c45611a41923eedcde85e546abb84d2b6ab (diff) | |
download | ranger-5ebb8ef628563f33abf6b72b47afe19b8efc0694.tar.gz |
command_parser: fixed chunk()
-rw-r--r-- | ranger/ext/command_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/command_parser.py b/ranger/ext/command_parser.py index 1082e767..a6971631 100644 --- a/ranger/ext/command_parser.py +++ b/ranger/ext/command_parser.py @@ -30,7 +30,7 @@ class LazyParser(object): def chunk(self, n, otherwise=''): """Chunks are pieces of the command seperated by spaces""" if self._chunks is None: - self._chunks = line.split() + self._chunks = self.line.split() if len(self._chunks) > n: return self._chunks[n] |