[Zope3-checkins] CVS: Zope3 - test.py:1.49
Fred L. Drake, Jr.
fred@zope.com
Tue, 8 Apr 2003 09:57:19 -0400
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv28404
Modified Files:
test.py
Log Message:
process_args(): Once we've set up a local argv, use that instead of
going back to sys to get the args.
=== Zope3/test.py 1.48 => 1.49 ===
--- Zope3/test.py:1.48 Mon Apr 7 05:45:16 2003
+++ Zope3/test.py Tue Apr 8 09:57:17 2003
@@ -608,11 +608,11 @@
timetests = 0
try:
- opts, args = getopt.getopt(sys.argv[1:], "a:bBcdDg:G:hLmprtTuv",
+ opts, args = getopt.getopt(argv[1:], "a:bBcdDg:G:hLmprtTuv",
["all", "help", "libdir=", "times="])
except getopt.error, msg:
print msg
- print "Try `python %s -h' for more information." % sys.argv[0]
+ print "Try `python %s -h' for more information." % argv[0]
sys.exit(2)
for k, v in opts: