mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fred's recent changes to support "-u all" resulted in subset resource
selections (eg "-u network") being ignored.
This commit is contained in:
parent
63c9d50a84
commit
e41abab33b
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0,
|
||||||
if r not in RESOURCE_NAMES:
|
if r not in RESOURCE_NAMES:
|
||||||
usage(1, 'Invalid -u/--use option: ' + a)
|
usage(1, 'Invalid -u/--use option: ' + a)
|
||||||
if r not in use_resources:
|
if r not in use_resources:
|
||||||
use_resources.extend(r)
|
use_resources.append(r)
|
||||||
if generate and verbose:
|
if generate and verbose:
|
||||||
usage(2, "-g and -v don't go together!")
|
usage(2, "-g and -v don't go together!")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue