From e51c3f5ecb334f02c12766df63ba48abeae824be Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 6 Dec 2001 03:24:30 +0000 Subject: [PATCH] SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields() --- Tools/scripts/h2py.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/scripts/h2py.py b/Tools/scripts/h2py.py index 689dc666d53..508c36b0775 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: