diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-08-17 04:16:04 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-08-17 04:16:04 (GMT) |
commit | 047e4a915d899b31dcb49fd820914df6a9991870 (patch) | |
tree | e9d90462ffbe4d527fbbdb908eda52b4213578ab /Lib/distutils/command/build_py.py | |
parent | 94f243aa41286fa6f3733c21d7936222e7f6c251 (diff) | |
download | cpython-047e4a915d899b31dcb49fd820914df6a9991870.zip cpython-047e4a915d899b31dcb49fd820914df6a9991870.tar.gz cpython-047e4a915d899b31dcb49fd820914df6a9991870.tar.bz2 |
Update distutils so that it triggers no warnings when run under -3.
Diffstat (limited to 'Lib/distutils/command/build_py.py')
-rw-r--r-- | Lib/distutils/command/build_py.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index be6d2c5..3bf1267 100644 --- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -169,7 +169,7 @@ class build_py (Command): del path[-1] else: tail.insert(0, pdir) - return apply(os.path.join, tail) + return os.path.join(*tail) else: # Oops, got all the way through 'path' without finding a # match in package_dir. If package_dir defines a directory @@ -337,7 +337,7 @@ class build_py (Command): def get_module_outfile (self, build_dir, package, module): outfile_path = [build_dir] + list(package) + [module + ".py"] - return apply(os.path.join, outfile_path) + return os.path.join(*outfile_path) def get_outputs (self, include_bytecode=1): |