From 97dbec97bc18b88e0380f683009f6827f836c630 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 13 Aug 2001 15:58:26 +0000 Subject: Remove redundant import (PyChecker). Update greeting message to avoid the long copyright notice. --- Lib/rexec.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Lib/rexec.py b/Lib/rexec.py index 90c8f6f..d1dd4eb 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -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: -- cgit v0.12