summaryrefslogtreecommitdiffstats
path: root/Lib/compileall.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-12-05 04:04:37 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-12-05 04:04:37 (GMT)
commit939614c48c3b0b5adeb408294a032118411ab987 (patch)
treeaa7d23dfa311445c3d88fec4b6dda1482f1f1693 /Lib/compileall.py
parent6a77c2d978277fc9597baaa6ff612666332bfdca (diff)
parentced699b4c7e79e0a53e3ca7f2d789b761d4a9e76 (diff)
downloadcpython-939614c48c3b0b5adeb408294a032118411ab987.zip
cpython-939614c48c3b0b5adeb408294a032118411ab987.tar.gz
cpython-939614c48c3b0b5adeb408294a032118411ab987.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)