summary refs log tree commit diff stats
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
parente5b45c45611a41923eedcde85e546abb84d2b6ab (diff)
downloadranger-5ebb8ef628563f33abf6b72b47afe19b8efc0694.tar.gz
command_parser: fixed chunk()
-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]
570b5'>dd660682 ^
01ce563d ^

dd660682 ^



92a3d082 ^
dd660682 ^









01ce563d ^


92a3d082 ^


01ce563d ^



92a3d082 ^
01ce563d ^









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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63