summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorRoger Serwy <roger.serwy@gmail.com>2013-05-06 03:15:44 (GMT)
committerRoger Serwy <roger.serwy@gmail.com>2013-05-06 03:15:44 (GMT)
commit9bc7b793ead980204475c5c2309217a43b22633a (patch)
treef5771ab1232a60e1d97ae78f6e6c4091dad4a1a9 /Lib/idlelib/EditorWindow.py
parent44571daf0e3a1df376dc97551643281bdf2dbcb8 (diff)
downloadcpython-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.py3
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