mirror of
https://github.com/python/cpython.git
synced 2025-10-07 15:42:02 +00:00
Merge: #24903: Remove misleading error message to fix regression.
This commit is contained in:
commit
939614c48c
4 changed files with 5 additions and 11 deletions
|
@ -238,9 +238,6 @@ def main():
|
|||
args = parser.parse_args()
|
||||
compile_dests = args.compile_dest
|
||||
|
||||
if (args.ddir and (len(compile_dests) != 1
|
||||
or not os.path.isdir(compile_dests[0]))):
|
||||
parser.exit('-d destdir requires exactly one directory argument')
|
||||
if args.rx:
|
||||
import re
|
||||
args.rx = re.compile(args.rx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue