]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove startup firewall message. That is handled by an error dialog
authorRaymond Hettinger <python@rcn.com>
Mon, 26 Jan 2009 23:29:09 +0000 (23:29 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 26 Jan 2009 23:29:09 +0000 (23:29 +0000)
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.

Lib/idlelib/PyShell.py

index c1b98a059f4a84fe1f65a81fcbe3d0eaefe5faee..7fec7e992fbb9d629cd29b772a8cd58e2d962a62 100644 (file)
@@ -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?