summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-15 17:28:20 +0200
committerhut <hut@lavabit.com>2010-11-22 02:30:42 +0100
commit72c70a2df45b957fee8c755e8bc953e4126dd2fb (patch)
tree2427709e81595cf69fbb01c62ce11b4ab0abacb6
parent8c73056a44b6f7a267c98eb912fba3911ed33e9a (diff)
downloadranger-72c70a2df45b957fee8c755e8bc953e4126dd2fb.tar.gz
ext.keybinding_parser: fixed python3 incompatibility
-rw-r--r--ranger/ext/keybinding_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/keybinding_parser.py b/ranger/ext/keybinding_parser.py
index e044d80d..0330c8ec 100644
--- a/ranger/ext/keybinding_parser.py
+++ b/ranger/ext/keybinding_parser.py
@@ -95,7 +95,7 @@ special_keys = {
 	's-tab': curses.KEY_BTAB,
 }
 
-for key, val in special_keys.items():
+for key, val in tuple(special_keys.items()):
 	special_keys['a-' + key] = (27, val)
 
 for char in ascii_lowercase + '0123456789':
/a> 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254