diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-05-06 08:11:00 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-05-06 08:11:00 (GMT) |
commit | 56342d578ea265e7b1d74035db06431b86b7e85b (patch) | |
tree | f91ade03f74f10adf65a93dbf6d8d99c1d25118b /Lib/distutils/command | |
parent | ccf608c94c17aeb06c5974489eb33767816f3107 (diff) | |
download | cpython-56342d578ea265e7b1d74035db06431b86b7e85b.zip cpython-56342d578ea265e7b1d74035db06431b86b7e85b.tar.gz cpython-56342d578ea265e7b1d74035db06431b86b7e85b.tar.bz2 |
removed string.split usage
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r-- | Lib/distutils/command/build_clib.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/distutils/command/build_clib.py b/Lib/distutils/command/build_clib.py index 447ea94..d475232 100644 --- a/Lib/distutils/command/build_clib.py +++ b/Lib/distutils/command/build_clib.py @@ -16,7 +16,7 @@ __revision__ = "$Id$" # two modules, mainly because a number of subtle details changed in the # cut 'n paste. Sigh. -import os, string +import os from distutils.core import Command from distutils.errors import * from distutils.sysconfig import customize_compiler @@ -87,8 +87,7 @@ class build_clib (Command): if self.include_dirs is None: self.include_dirs = self.distribution.include_dirs or [] if isinstance(self.include_dirs, str): - self.include_dirs = string.split(self.include_dirs, - os.pathsep) + self.include_dirs = self.include_dirs.split(os.pathsep) # XXX same as for build_ext -- what about 'self.define' and # 'self.undef' ? |