From 1d8b7be33316619083a7189f2cdd70fb071c14d0 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Mon, 3 Aug 2015 18:34:07 -0400 Subject: Issue #24759: Revert 8203fc75b3d2. --- Lib/idlelib/PyShell.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index a35832d..6c2ff5b 100755 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -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 -- cgit v0.12