diff options
author | Fred Drake <fdrake@acm.org> | 2002-04-11 20:58:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-04-11 20:58:54 (GMT) |
commit | 04a8da5cdb185322ca519db1e731ba10d7646970 (patch) | |
tree | 476bec42a426ec6b7f51fcd0bcb5704690e84ef6 /Lib | |
parent | f9ddec41ce44c50d25258f1c0bdc68e08329b8a6 (diff) | |
download | cpython-04a8da5cdb185322ca519db1e731ba10d7646970.zip cpython-04a8da5cdb185322ca519db1e731ba10d7646970.tar.gz cpython-04a8da5cdb185322ca519db1e731ba10d7646970.tar.bz2 |
Clean up the "all" support for -u.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/regrtest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index b5ae97b..843deef 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -132,7 +132,8 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0, break if r not in RESOURCE_NAMES: usage(1, 'Invalid -u/--use option: ' + a) - use_resources.extend(u) + if r not in use_resources: + use_resources.extend(r) if generate and verbose: usage(2, "-g and -v don't go together!") |