summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-05 02:10:41 +0100
committerhut <hut@lavabit.com>2010-01-05 02:10:41 +0100
commit7b4ef308589cad675908f3cdea64c3c0edffd92a (patch)
tree5181f8a6e8bcff44844b6c0995d506dc77864b48 /ranger
parent847010930a11791c87845a011cd968b2f0861155 (diff)
downloadranger-7b4ef308589cad675908f3cdea64c3c0edffd92a.tar.gz
keyapi: fixed unwanted destructive operation
Diffstat (limited to 'ranger')
-rw-r--r--ranger/keyapi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/keyapi.py b/ranger/keyapi.py
index e5d6f367..a0e71428 100644
--- a/ranger/keyapi.py
+++ b/ranger/keyapi.py
@@ -94,6 +94,7 @@ def replace_narg(number, function, args, keywords):
 			args[index] = number
 		except (ValueError, IndexError):
 			# is narg in keywords?
+			keywords = dict(keywords)
 			keywords[NARG_KEYWORD] = number
 	return args, keywords
 
.com> 2015-05-16 13:17:36 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2015-05-16 13:17:36 -0700 1383 - warn on unknown type' href='/akkartik/mu/commit/047jump_label.cc?h=main&id=b142a7620246d57b461e5863b9d1092a917a2fc3'>b142a762 ^
dc1323e9 ^



363be37f ^
ac0e9db5 ^

dc1323e9 ^
4adb09bc ^




5f98a10c ^
4adb09bc ^



dc1323e9 ^
ac0e9db5 ^
dc1323e9 ^
e6692482 ^
4071055a ^
dc1323e9 ^
e6692482 ^
4071055a ^
dc1323e9 ^
e6692482 ^
ac0e9db5 ^
4071055a ^
dc1323e9 ^
e6692482 ^

ac0e9db5 ^
4071055a ^
dc1323e9 ^




363be37f ^
e4630643 ^
5f98a10c ^
4adb09bc ^
e4630643 ^

dc1323e9 ^
0f125d5f ^
4adb09bc ^
5f98a10c ^
4adb09bc ^



5f98a10c ^
4adb09bc ^


827898fc ^
dc1323e9 ^

4adb09bc ^



dc1323e9 ^

dc1323e9 ^

8ba8f0f6 ^
bc643692 ^
dc1323e9 ^









bc643692 ^

dc1323e9 ^









bc643692 ^

dc1323e9 ^




4071055a ^



bc643692 ^


8ba8f0f6 ^
bc643692 ^
4071055a ^
bc643692 ^
4071055a ^


4adb09bc ^
5f98a10c ^

4adb09bc ^





5f98a10c ^
4adb09bc ^

5f98a10c ^
4adb09bc ^









5f98a10c ^
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158