diff options
author | 2011-02-07 12:36:54 +0000 | |
---|---|---|
committer | 2011-02-07 12:36:54 +0000 | |
commit | 4543846517cbb5defb00f1bae82edd30e1280d9e (patch) | |
tree | 0dc95793008454a07c4f80034fb03db70d8f3396 /Lib/compileall.py | |
parent | #8691: document that right alignment is default for numbers. (diff) | |
download | cpython-4543846517cbb5defb00f1bae82edd30e1280d9e.tar.gz cpython-4543846517cbb5defb00f1bae82edd30e1280d9e.tar.bz2 cpython-4543846517cbb5defb00f1bae82edd30e1280d9e.zip |
#11132: pass optimize parameter to recursive call in compileall.compile_dir(). Reviewed by Eric A.
Diffstat (limited to 'Lib/compileall.py')
-rw-r--r-- | Lib/compileall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compileall.py b/Lib/compileall.py index 1030d8c8f08..d79a1bb9a09 100644 --- a/Lib/compileall.py +++ b/Lib/compileall.py @@ -58,7 +58,7 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, elif (maxlevels > 0 and name != os.curdir and name != os.pardir and os.path.isdir(fullname) and not os.path.islink(fullname)): if not compile_dir(fullname, maxlevels - 1, dfile, force, rx, - quiet, legacy): + quiet, legacy, optimize): success = 0 return success |