[Python-checkins] python/dist/src/Lib/test regrtest.py,1.75,1.76

fdrake@sourceforge.net fdrake@sourceforge.net
2002年4月11日 13:58:56 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv13743
Modified Files:
	regrtest.py 
Log Message:
Clean up the "all" support for -u.
Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** regrtest.py	11 Apr 2002 19:52:58 -0000	1.75
--- regrtest.py	11 Apr 2002 20:58:54 -0000	1.76
***************
*** 133,137 ****
 if r not in RESOURCE_NAMES:
 usage(1, 'Invalid -u/--use option: ' + a)
! use_resources.extend(u)
 if generate and verbose:
 usage(2, "-g and -v don't go together!")
--- 133,138 ----
 if r not in RESOURCE_NAMES:
 usage(1, 'Invalid -u/--use option: ' + a)
! if r not in use_resources:
! use_resources.extend(r)
 if generate and verbose:
 usage(2, "-g and -v don't go together!")

AltStyle によって変換されたページ (->オリジナル) /