summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-12 17:59:45 +0100
committerhut <hut@lavabit.com>2010-03-12 17:59:45 +0100
commit5ebb8ef628563f33abf6b72b47afe19b8efc0694 (patch)
treef648a63c16e925beefaad39560bf6cd92087890f /ranger
parente5b45c45611a41923eedcde85e546abb84d2b6ab (diff)
downloadranger-5ebb8ef628563f33abf6b72b47afe19b8efc0694.tar.gz
command_parser: fixed chunk()
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/command_parser.py2
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]