diff options
author | Roger Serwy <roger.serwy@gmail.com> | 2013-05-06 03:15:44 (GMT) |
---|---|---|
committer | Roger Serwy <roger.serwy@gmail.com> | 2013-05-06 03:15:44 (GMT) |
commit | 9bc7b793ead980204475c5c2309217a43b22633a (patch) | |
tree | f5771ab1232a60e1d97ae78f6e6c4091dad4a1a9 /Lib/idlelib/EditorWindow.py | |
parent | 44571daf0e3a1df376dc97551643281bdf2dbcb8 (diff) | |
download | cpython-9bc7b793ead980204475c5c2309217a43b22633a.zip cpython-9bc7b793ead980204475c5c2309217a43b22633a.tar.gz cpython-9bc7b793ead980204475c5c2309217a43b22633a.tar.bz2 |
#13495: Avoid loading the color delegator twice in IDLE.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 19bbdd6..27c989c 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -316,9 +316,6 @@ class EditorWindow(object): self.good_load = True is_py_src = self.ispythonsource(filename) self.set_indentation_params(is_py_src) - if is_py_src: - self.color = color = self.ColorDelegator() - per.insertfilter(color) else: io.set_filename(filename) self.good_load = True |