summaryrefslogtreecommitdiffstats
path: root/Lib/compileall.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-12-05 04:05:20 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-12-05 04:05:20 (GMT)
commit154228fb61f6bb61696531b0eb7eb28c2b348748 (patch)
tree8851351cb0fcc4cdd0c0e1cb4d721b57d7924449 /Lib/compileall.py
parent07efcd50071a39dd49c677de5551ad542b1be3c3 (diff)
parent939614c48c3b0b5adeb408294a032118411ab987 (diff)
downloadcpython-154228fb61f6bb61696531b0eb7eb28c2b348748.zip
cpython-154228fb61f6bb61696531b0eb7eb28c2b348748.tar.gz
cpython-154228fb61f6bb61696531b0eb7eb28c2b348748.tar.bz2
Merge: #24903: Remove misleading error message to fix regression.
Diffstat (limited to 'Lib/compileall.py')
-rw-r--r--Lib/compileall.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/compileall.py b/Lib/compileall.py
index 64c0a9a..0cc0c1d 100644
--- a/Lib/compileall.py
+++ b/Lib/compileall.py
@@ -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)