From: Raymond Hettinger Date: Mon, 26 Jan 2009 23:29:09 +0000 (+0000) Subject: Remove startup firewall message. That is handled by an error dialog X-Git-Tag: v2.7a1~2192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3f69ee85d3c497bfdeae3ac3338c1409ca454c;p=thirdparty%2FPython%2Fcpython.git Remove startup firewall message. That is handled by an error dialog whenever a connection cannot be formed. Also, the Idle version number is already in the About Idle dialog. Now, the startup is clean looking once again. --- diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index c1b98a059f4a..7fec7e992fbb 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -973,15 +973,6 @@ class PyShell(OutputWindow): COPYRIGHT = \ 'Type "copyright", "credits" or "license()" for more information.' - firewallmessage = """ - **************************************************************** - Personal firewall software may warn about the connection IDLE - makes to its subprocess using this computer's internal loopback - interface. This connection is not visible on any external - interface and no data is sent to or received from the Internet. - **************************************************************** - """ - def begin(self): self.resetoutput() if use_subprocess: @@ -992,9 +983,8 @@ class PyShell(OutputWindow): return False else: nosub = "==== No Subprocess ====" - self.write("Python %s on %s\n%s\n%s\nIDLE %s %s\n" % - (sys.version, sys.platform, self.COPYRIGHT, - self.firewallmessage, idlever.IDLE_VERSION, nosub)) + self.write("Python %s on %s\n%s\n%s" % + (sys.version, sys.platform, self.COPYRIGHT, nosub)) self.showprompt() import Tkinter Tkinter._default_root = None # 03Jan04 KBK What's this?