[Python-checkins] r72392 - python/trunk/Lib/distutils/command/build_clib.py
tarek.ziade
python-checkins at python.org
Wed May 6 10:11:00 CEST 2009
Author: tarek.ziade
Date: Wed May 6 10:11:00 2009
New Revision: 72392
Log:
removed string.split usage
Modified:
python/trunk/Lib/distutils/command/build_clib.py
Modified: python/trunk/Lib/distutils/command/build_clib.py
==============================================================================
--- python/trunk/Lib/distutils/command/build_clib.py (original)
+++ python/trunk/Lib/distutils/command/build_clib.py Wed May 6 10:11:00 2009
@@ -16,7 +16,7 @@
# 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 @@
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' ?
More information about the Python-checkins
mailing list