[Python-checkins] python/dist/src/Lib/test regrtest.py,1.82,1.83

aimacintyre@sourceforge.net aimacintyre@sourceforge.net
2002年4月30日 05:11:06 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv29199
Modified Files:
	regrtest.py 
Log Message:
Fred's recent changes to support "-u all" resulted in subset resource 
selections (eg "-u network") being ignored.
Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -d -r1.82 -r1.83
*** regrtest.py	23 Apr 2002 23:09:02 -0000	1.82
--- regrtest.py	30 Apr 2002 12:11:04 -0000	1.83
***************
*** 134,138 ****
 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!")
--- 134,138 ----
 usage(1, 'Invalid -u/--use option: ' + a)
 if r not in use_resources:
! use_resources.append(r)
 if generate and verbose:
 usage(2, "-g and -v don't go together!")

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