From: Tarek Ziadé Date: Thu, 11 Jun 2009 08:43:26 +0000 (+0000) Subject: removed the last string.split() call X-Git-Tag: v2.7a1~984 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d36afd15e9212139a49fa0e66052fbecca499a1;p=thirdparty%2FPython%2Fcpython.git removed the last string.split() call --- diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index 4a4fadde9283..dcc7231ac5a4 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -13,7 +13,6 @@ __revision__ = "$Id$" import os import re -import string import sys from distutils.errors import DistutilsPlatformError @@ -435,7 +434,7 @@ def _init_posix(): # relative to the srcdir, which after installation no longer makes # sense. python_lib = get_python_lib(standard_lib=1) - linkerscript_path = string.split(g['LDSHARED'])[0] + linkerscript_path = g['LDSHARED'].split()[0] linkerscript_name = os.path.basename(linkerscript_path) linkerscript = os.path.join(python_lib, 'config', linkerscript_name)