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

index 4f7a6de5ea399ef1c06780fe562cdc3600466ecb..3869d45eafad91c30129d1ca7583ccaf708f8f99 100755 (executable)
@@ -23,16 +23,6 @@ except ImportError:
           "Your Python may not be configured for Tk. **", file=sys.__stderr__)
     sys.exit(1)
 import tkinter.messagebox as tkMessageBox
-try:
-    from tkinter 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