summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-06-11 08:43:26 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-06-11 08:43:26 (GMT)
commit2d36afd15e9212139a49fa0e66052fbecca499a1 (patch)
tree87dfecae7072a98c3f695c21d5d822ad60b8a1d7 /Lib/distutils
parent25d2bae1c9ece8d612558b27518026487ce0eca0 (diff)
downloadcpython-2d36afd15e9212139a49fa0e66052fbecca499a1.zip
cpython-2d36afd15e9212139a49fa0e66052fbecca499a1.tar.gz
cpython-2d36afd15e9212139a49fa0e66052fbecca499a1.tar.bz2
removed the last string.split() call
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/sysconfig.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index 4a4fadd..dcc7231 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)