summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-04-30 12:11:04 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-04-30 12:11:04 (GMT)
commite41abab33b0b467acd6bdc7d73ce4b5cef4fd5bf (patch)
tree92107e91de82b397272cb25b7f398e4940e6d7e6 /Lib
parent63c9d50a845d8e839d3902f8d9aca7b9d6014ad6 (diff)
downloadcpython-e41abab33b0b467acd6bdc7d73ce4b5cef4fd5bf.zip
cpython-e41abab33b0b467acd6bdc7d73ce4b5cef4fd5bf.tar.gz
cpython-e41abab33b0b467acd6bdc7d73ce4b5cef4fd5bf.tar.bz2
Fred's recent changes to support "-u all" resulted in subset resource
selections (eg "-u network") being ignored.
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index ec39936..cd2442d 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -133,7 +133,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0,
if r not in RESOURCE_NAMES:
usage(1, 'Invalid -u/--use option: ' + a)
if r not in use_resources:
- use_resources.extend(r)
+ use_resources.append(r)
if generate and verbose:
usage(2, "-g and -v don't go together!")