summaryrefslogtreecommitdiff
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorRoger Serwy <roger.serwy@gmail.com>2013-05-05 22:15:44 -0500
committerRoger Serwy <roger.serwy@gmail.com>2013-05-05 22:15:44 -0500
commit9bc7b793ead980204475c5c2309217a43b22633a (patch)
treef5771ab1232a60e1d97ae78f6e6c4091dad4a1a9 /Lib/idlelib/EditorWindow.py
parent44571daf0e3a1df376dc97551643281bdf2dbcb8 (diff)
downloadcpython-git-9bc7b793ead980204475c5c2309217a43b22633a.tar.gz
#13495: Avoid loading the color delegator twice in IDLE.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 19bbdd60f9..27c989cb11 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