From 806fc471e0bfe044c4b8524db35b5828f1f40b89 Mon Sep 17 00:00:00 2001 From: toonn Date: Sat, 24 Feb 2018 19:38:07 +0100 Subject: Clarify the comment and fix the url --- ranger/gui/curses_shortcuts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ranger/gui/curses_shortcuts.py b/ranger/gui/curses_shortcuts.py index 68658026..14f1e0e4 100644 --- a/ranger/gui/curses_shortcuts.py +++ b/ranger/gui/curses_shortcuts.py @@ -36,7 +36,8 @@ class CursesShortcuts(SettingsAware): try: self.win.addstr(*args) except (curses.error, TypeError, ValueError): - # a TE changed to VE from 3.5 (github.com/python/cpython/pull/2302) + # a TypeError changed to ValueError from version 3.5 onwards + # https://bugs.python.org/issue22215 if len(args) > 1: self.win.move(y, x) -- cgit 1.4.1-2-gfad0