summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-04-01 18:17:09 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-04-01 18:17:09 (GMT)
commit8d1da0f5c3b8c6e3fa29e6ae7f891f699a041bb6 (patch)
tree358d9d15191ea717dcd05117302d090296a4e9c1 /Lib/distutils/command/build_ext.py
parentb5023df3d6d46c7a220eb1db0c2db8cbe8a881fc (diff)
downloadcpython-8d1da0f5c3b8c6e3fa29e6ae7f891f699a041bb6.zip
cpython-8d1da0f5c3b8c6e3fa29e6ae7f891f699a041bb6.tar.gz
cpython-8d1da0f5c3b8c6e3fa29e6ae7f891f699a041bb6.tar.bz2
#7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote.
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r--Lib/distutils/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 8248089..aeb6b74 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -676,7 +676,7 @@ class build_ext (Command):
# extensions in debug_mode are named 'module_d.pyd' under windows
so_ext = get_config_var('SO')
if os.name == 'nt' and self.debug:
- return apply(os.path.join, ext_path) + '_d' + so_ext
+ return os.path.join(*ext_path) + '_d' + so_ext
return os.path.join(*ext_path) + so_ext
def get_export_symbols (self, ext):