summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-10-06 12:35:46 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-10-06 12:35:46 (GMT)
commit9d23690898f30a449134724b04916b68c2216871 (patch)
tree7acbe55b916db37817ec5995dfaf41f32296db5f /Lib/distutils
parent3c8de0ff270127d820a35c970f9d959781371924 (diff)
downloadcpython-9d23690898f30a449134724b04916b68c2216871.zip
cpython-9d23690898f30a449134724b04916b68c2216871.tar.gz
cpython-9d23690898f30a449134724b04916b68c2216871.tar.bz2
#7068: Fixed the partial renaming that occured in r72594
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/build_ext.py2
-rw-r--r--Lib/distutils/tests/test_build_ext.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 1b7d310..da9cbfd 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -303,7 +303,7 @@ class build_ext (Command):
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
- self.compiler = new_compiler(compiler=None,
+ self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py
index 36e0bb8..00733a4 100644
--- a/Lib/distutils/tests/test_build_ext.py
+++ b/Lib/distutils/tests/test_build_ext.py
@@ -264,7 +264,7 @@ class BuildExtTestCase(support.TempdirManager,
sysconfig.get_config_var('SO'))
so_dir = os.path.dirname(so_file)
self.assertEquals(so_dir, other_tmp_dir)
-
+ cmd.compiler = None
cmd.inplace = 0
cmd.run()
so_file = cmd.get_outputs()[0]