SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields()

This commit is contained in:
Guido van Rossum 2001-12-06 03:24:30 +00:00
parent 14227b4dd4
commit e51c3f5ecb
1 changed files with 3 additions and 3 deletions

View File

@ -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: