SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields()
This commit is contained in:
parent
14227b4dd4
commit
e51c3f5ecb
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue