summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_lib.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-11-03 15:27:57 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-11-03 15:27:57 (GMT)
commit9c2f42f253d37496d52178377ab5e88f2e231401 (patch)
tree87ed0037e4dd774c762495f6334cb1af75649c4e /Lib/distutils/command/install_lib.py
parentcb2f84a21802a9e1776860b375745706fc570060 (diff)
parenta083823a85b102643a68bc50ca6c78c60e244cd2 (diff)
downloadcpython-9c2f42f253d37496d52178377ab5e88f2e231401.zip
cpython-9c2f42f253d37496d52178377ab5e88f2e231401.tar.gz
cpython-9c2f42f253d37496d52178377ab5e88f2e231401.tar.bz2
Branch merge
Diffstat (limited to 'Lib/distutils/command/install_lib.py')
-rw-r--r--Lib/distutils/command/install_lib.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py
index 8a6bc7d..15c08f1 100644
--- a/Lib/distutils/command/install_lib.py
+++ b/Lib/distutils/command/install_lib.py
@@ -165,9 +165,11 @@ class install_lib(Command):
if ext != PYTHON_SOURCE_EXTENSION:
continue
if self.compile:
- bytecode_files.append(imp.cache_from_source(py_file, True))
+ bytecode_files.append(imp.cache_from_source(
+ py_file, debug_override=True))
if self.optimize > 0:
- bytecode_files.append(imp.cache_from_source(py_file, False))
+ bytecode_files.append(imp.cache_from_source(
+ py_file, debug_override=False))
return bytecode_files