]> granicus.if.org Git - python/commitdiff
Remove redundant import (PyChecker).
authorGuido van Rossum <guido@python.org>
Mon, 13 Aug 2001 15:58:26 +0000 (15:58 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 13 Aug 2001 15:58:26 +0000 (15:58 +0000)
Update greeting message to avoid the long copyright notice.

Lib/rexec.py

index 90c8f6f95cbd6bfd3dd61ee669136ecc44a0563e..d1dd4ebf1bd1c4e446b80c401b836f1846dc8f82 100644 (file)
@@ -358,7 +358,7 @@ class RExec(ihooks._Verbose):
 
 
 def test():
-    import sys, getopt, traceback
+    import getopt, traceback
     opts, args = getopt.getopt(sys.argv[1:], 'vt:')
     verbose = 0
     trusted = []
@@ -384,7 +384,9 @@ def test():
             return 1
     if fp.isatty():
         print "*** RESTRICTED *** Python", sys.version
-        print sys.copyright
+        print 'Type "help", "copyright", "credits" or "license" ' \
+              'for more information.'
+
         while 1:
             try:
                 try: