From ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 16 May 2008 15:48:15 +0000 Subject: Tkinter rename, step 2: fix imports and add stub modules. --- Lib/idlelib/run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Lib/idlelib/run.py') diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index 8abbe5010e..18ddca7544 100644 --- a/Lib/idlelib/run.py +++ b/Lib/idlelib/run.py @@ -127,9 +127,9 @@ def manage_socket(address): server.handle_request() # A single request only def show_socket_error(err, address): - import Tkinter - import tkMessageBox - root = Tkinter.Tk() + import tkinter + import tkinter.messagebox as tkMessageBox + root = tkinter.Tk() root.withdraw() if err[0] == 61: # connection refused msg = "IDLE's subprocess can't connect to %s:%d. This may be due "\ -- cgit v1.2.1