]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #24759: Revert 8203fc75b3d2.
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 3 Aug 2015 22:34:07 +0000 (18:34 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Mon, 3 Aug 2015 22:34:07 +0000 (18:34 -0400)
Lib/idlelib/PyShell.py

index a35832d42759833d56b25f991df0279750f77ae9..6c2ff5b42885f861099301a9c5b600298fa8061c 100755 (executable)
@@ -23,16 +23,6 @@ except ImportError:
           "Your Python may not be configured for Tk. **", file=sys.__stderr__)
     sys.exit(1)
 import tkMessageBox
-try:
-    import ttk
-except:
-    root = Tk()
-    root.withdraw()
-    tkMessageBox.showerror("Idle Cannot Start",
-            "Idle now requires the Tkinter ttk module from tcl/tk 8.5+.\n"
-            + "It found tk %s and no ttk." % TkVersion,
-            parent=root)
-    sys.exit(1)
 
 from idlelib.EditorWindow import EditorWindow, fixwordbreaks
 from idlelib.FileList import FileList