summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2018-02-24 19:38:07 +0100
committertoonn <toonn@toonn.io>2018-02-24 19:38:07 +0100
commit806fc471e0bfe044c4b8524db35b5828f1f40b89 (patch)
tree4240e2bfbbdbcec32629dd4fc8c7ceb0902f71c0
parent8c648d917a0510425fad96bcd387fd5c01775df6 (diff)
downloadranger-806fc471e0bfe044c4b8524db35b5828f1f40b89.tar.gz
Clarify the comment and fix the url
-rw-r--r--ranger/gui/curses_shortcuts.py3
1 files changed, 2 insertions, 1 deletions
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)