Skip to content

Commit 1f2e808

Browse files
remove outdated, limited check for vaild config
1 parent 9f0d073 commit 1f2e808

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

bpython/config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,6 @@ def get_key_no_doublebind(command):
269269
(color_scheme_name, ))
270270
sys.exit(1)
271271

272-
# checks for valid key configuration this part still sucks
273-
for key in (struct.pastebin_key, struct.save_key):
274-
key_dispatch[key]
275-
276272
# expand path of history file
277273
struct.hist_file = os.path.expanduser(struct.hist_file)
278274

bpython/curtsiesfrontend/manual_readline.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,9 @@ def transpose_character_before_cursor(cursor_offset, line):
291291
def transpose_word_before_cursor(cursor_offset, line):
292292
return cursor_offset, line # TODO Not implemented
293293

294-
# bonus functions (not part of readline)
295-
296-
297-
@edit_keys.on('<Esc+r>')
298-
def delete_line(cursor_offset, line):
299-
return 0, ""
294+
# TODO undo all changes to line: meta-r
300295

296+
# bonus functions (not part of readline)
301297

302298
@edit_keys.on('<Esc+u>')
303299
def uppercase_next_word(cursor_offset, line):

0 commit comments

Comments
 (0)