From 4543846517cbb5defb00f1bae82edd30e1280d9e Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 7 Feb 2011 12:36:54 +0000 Subject: #11132: pass optimize parameter to recursive call in compileall.compile_dir(). Reviewed by Eric A. --- Lib/compileall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/compileall.py') diff --git a/Lib/compileall.py b/Lib/compileall.py index 1030d8c8f0..d79a1bb9a0 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 -- cgit v1.2.1