summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_py.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-08-03 07:51:50 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-08-03 07:51:50 (GMT)
commite511c6ce8d5c21f279df0b5c8b74ba2dcda67b21 (patch)
treeaba45d698ea6bd5ec19cb9c0f25b52fb6db8b5b3 /Lib/distutils/command/build_py.py
parent55624a22617162589699791ed93e6799fa32ab69 (diff)
downloadcpython-e511c6ce8d5c21f279df0b5c8b74ba2dcda67b21.zip
cpython-e511c6ce8d5c21f279df0b5c8b74ba2dcda67b21.tar.gz
cpython-e511c6ce8d5c21f279df0b5c8b74ba2dcda67b21.tar.bz2
Merged revisions 79191 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79191 | florent.xicluna | 2010-03-21 13:50:17 +0200 (Sun, 21 Mar 2010) | 3 lines No more deprecation warnings for distutils.sysconfig, following r78666. But when the "dl" module is available, it gives a py3k deprecation warning. ........
Diffstat (limited to 'Lib/distutils/command/build_py.py')
-rw-r--r--Lib/distutils/command/build_py.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py
index 708ef0f..9f8a759 100644
--- a/Lib/distutils/command/build_py.py
+++ b/Lib/distutils/command/build_py.py
@@ -157,7 +157,7 @@ class build_py (Command):
if not self.package_dir:
if path:
- return apply(os.path.join, path)
+ return os.path.join(*path)
else:
return ''
else:
@@ -184,7 +184,7 @@ class build_py (Command):
tail.insert(0, pdir)
if tail:
- return apply(os.path.join, tail)
+ return os.path.join(*tail)
else:
return ''