diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-10-13 02:59:18 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-10-13 02:59:18 (GMT) |
commit | 2fb369c0d318481b3931821fe517c628814df03a (patch) | |
tree | c8c6ece453b2d348be994ae6d7ef772866fd2706 | |
parent | 3efa148aa38bb2d1413e5b53cdfce20b65a899aa (diff) | |
parent | efc7258377e79cff0ea41f97fa999873325e2fb5 (diff) | |
download | cpython-2fb369c0d318481b3931821fe517c628814df03a.zip cpython-2fb369c0d318481b3931821fe517c628814df03a.tar.gz cpython-2fb369c0d318481b3931821fe517c628814df03a.tar.bz2 |
Merge with 3.4 #22614
-rwxr-xr-x | Lib/idlelib/PyShell.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 514aee6..6b43988 100755 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -151,6 +151,9 @@ class PyShellEditorWindow(EditorWindow): def color_breakpoint_text(self, color=True): "Turn colorizing of breakpoint text on or off" + if self.io is None: + # possible due to update in restore_file_breaks + return if color: theme = idleConf.GetOption('main','Theme','name') cfg = idleConf.GetHighlight(theme, "break") |