summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-06 03:24:30 (GMT)
committerGuido van Rossum <guido@python.org>2001-12-06 03:24:30 (GMT)
commite51c3f5ecb334f02c12766df63ba48abeae824be (patch)
treef32bdaf926ebd5b57ced6e105d32ad7ffb0e0653 /Tools/scripts
parent14227b4dd41c1dd6cf2ff5b81ad5197b205080ab (diff)
downloadcpython-e51c3f5ecb334f02c12766df63ba48abeae824be.zip
cpython-e51c3f5ecb334f02c12766df63ba48abeae824be.tar.gz
cpython-e51c3f5ecb334f02c12766df63ba48abeae824be.tar.bz2
SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields()
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/h2py.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/h2py.py b/Tools/scripts/h2py.py
index 689dc66..508c36b 100755
--- a/Tools/scripts/h2py.py
+++ b/Tools/scripts/h2py.py
@@ -42,14 +42,14 @@ filedict = {}
importable = {}
try:
- searchdirs=os.environ['include'].splitfields(';')
+ searchdirs=os.environ['include'].split(';')
except KeyError:
try:
- searchdirs=os.environ['INCLUDE'].splitfields(';')
+ searchdirs=os.environ['INCLUDE'].split(';')
except KeyError:
try:
if sys.platform.find("beos") == 0:
- searchdirs=os.environ['BEINCLUDES'].splitfields(';')
+ searchdirs=os.environ['BEINCLUDES'].split(';')
else:
raise KeyError
except KeyError: