diff options
author | Guido van Rossum <guido@python.org> | 2001-12-06 03:24:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-12-06 03:24:30 (GMT) |
commit | e51c3f5ecb334f02c12766df63ba48abeae824be (patch) | |
tree | f32bdaf926ebd5b57ced6e105d32ad7ffb0e0653 /Tools/scripts/h2py.py | |
parent | 14227b4dd41c1dd6cf2ff5b81ad5197b205080ab (diff) | |
download | cpython-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/h2py.py')
-rwxr-xr-x | Tools/scripts/h2py.py | 6 |
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: |